Class: BillForward::Address
- Inherits:
-
MutableEntity
- Object
- BillingEntity
- InsertableEntity
- MutableEntity
- BillForward::Address
- Defined in:
- lib/bill_forward/entities/address.rb
Instance Attribute Summary
Attributes inherited from BillingEntity
Class Method Summary collapse
- .get_all(query_params = {}, customClient = nil) ⇒ Object
- .get_by_id(id, query_params = {}, customClient = nil) ⇒ Object
Instance Method Summary collapse
Methods inherited from MutableEntity
Methods inherited from InsertableEntity
Methods inherited from BillingEntity
#[], #[]=, #_dump, _load, build_entity, build_entity_array, #camel_case_lower, #initialize, #method_missing, request_ambiguous, request_first_heterotyped, request_many_heterotyped, #serialize, #serialize_field, singleton_client, #state_params, #to_json, #to_ordered_hash, #to_s, #to_unordered_hash
Constructor Details
This class inherits a constructor from BillForward::MutableEntity
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class BillForward::BillingEntity
Class Method Details
.get_all(query_params = {}, customClient = nil) ⇒ Object
12 13 14 15 16 |
# File 'lib/bill_forward/entities/address.rb', line 12 def get_all(query_params = {}, customClient = nil) raise DenyMethod.new 'Get All support is denied for this entity; '+ 'at the time of writing, no API endpoint exists to support it.'+ 'The entity can be GETted through cascade only (i.e. GET a related entity).' end |
.get_by_id(id, query_params = {}, customClient = nil) ⇒ Object
6 7 8 9 10 |
# File 'lib/bill_forward/entities/address.rb', line 6 def get_by_id(id, query_params = {}, customClient = nil) raise DenyMethod.new 'Get by ID support is denied for this entity; '+ 'at the time of writing, no API endpoint exists to support it.'+ 'The entity can be GETted through cascade only (i.e. GET a related entity).' end |
Instance Method Details
#save ⇒ Object
19 20 21 22 23 |
# File 'lib/bill_forward/entities/address.rb', line 19 def save() raise DenyMethod.new 'Save support is denied for this entity; '+ 'at the time of writing, the provided API endpoint is not functioning.'+ 'The entity can be saved through cascade only (i.e. save a related entity).' end |