Class: ErpIntegration::ChannelListing
- Defined in:
- lib/erp_integration/channel_listing.rb
Overview
The ‘ErpIntegration::ChannelListing` exposes an uniformed API for interaction with third-party ERP vendors.
Instance Attribute Summary collapse
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#id ⇒ Object
Returns the value of attribute id.
-
#product ⇒ Object
Returns the value of attribute product.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
Attributes inherited from Resource
Method Summary
Methods inherited from Resource
adapter, adapter_klass, adapter_path, adapter_type, #assign_attributes, #initialize, #method_missing, resource_name, respond_to_missing?
Methods included from Resources::Persistence
#destroy, included, #persisted?, #update
Methods included from Resources::Validations
#errors, #valid?, #validate_with
Constructor Details
This class inherits a constructor from ErpIntegration::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ErpIntegration::Resource
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel.
7 8 9 |
# File 'lib/erp_integration/channel_listing.rb', line 7 def channel @channel end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/erp_integration/channel_listing.rb', line 7 def id @id end |
#product ⇒ Object
Returns the value of attribute product.
7 8 9 |
# File 'lib/erp_integration/channel_listing.rb', line 7 def product @product end |
#quantity ⇒ Object
Returns the value of attribute quantity.
7 8 9 |
# File 'lib/erp_integration/channel_listing.rb', line 7 def quantity @quantity end |