Class: ErpIntegration::SalesLineOption
- Defined in:
- lib/erp_integration/sales_line_option.rb
Overview
The ‘ErpIntegration::SaleLieOption` exposes an uniformed API for interaction with third-party ERP vendors.
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#line ⇒ Object
Returns the value of attribute line.
-
#option ⇒ Object
Returns the value of attribute option.
-
#value_text ⇒ Object
Returns the value of attribute value_text.
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
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/erp_integration/sales_line_option.rb', line 7 def id @id end |
#line ⇒ Object
Returns the value of attribute line.
7 8 9 |
# File 'lib/erp_integration/sales_line_option.rb', line 7 def line @line end |
#option ⇒ Object
Returns the value of attribute option.
7 8 9 |
# File 'lib/erp_integration/sales_line_option.rb', line 7 def option @option end |
#value_text ⇒ Object
Returns the value of attribute value_text.
7 8 9 |
# File 'lib/erp_integration/sales_line_option.rb', line 7 def value_text @value_text end |