Class: Billomat::Models::Contact
- Defined in:
- lib/billomat/models/contact.rb
Overview
Representation of the client resource.
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
-
.base_path ⇒ String
The resource’s base path.
-
.resource_name ⇒ String
The resource’s name.
Methods inherited from Base
#as_json, #create, #delete, find, #id, #initialize, #method_missing, #respond_to_missing?, #save, #update, where, #wrapped_data
Constructor Details
This class inherits a constructor from Billomat::Models::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Billomat::Models::Base
Class Method Details
.base_path ⇒ String
Returns the resource’s base path.
8 9 10 |
# File 'lib/billomat/models/contact.rb', line 8 def self.base_path '/contacts' end |
.resource_name ⇒ String
Returns the resource’s name.
13 14 15 |
# File 'lib/billomat/models/contact.rb', line 13 def self.resource_name 'contact' end |