Class: Conekta::Details
- Inherits:
-
Resource
- Object
- Hash
- ConektaObject
- Resource
- Conekta::Details
- Defined in:
- lib/conekta/details.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#sku ⇒ Object
Returns the value of attribute sku.
-
#unit_price ⇒ Object
Returns the value of attribute unit_price.
Attributes inherited from Resource
Attributes inherited from ConektaObject
Method Summary
Methods inherited from Resource
#_url, _url, #create_member_with_relation, #initialize, underscored_class
Methods inherited from ConektaObject
#class_name, class_name, #create_attr, #first, #initialize, #inspect, #last, #load_from, #set_val, #to_s, #unset_key
Constructor Details
This class inherits a constructor from Conekta::Resource
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category.
3 4 5 |
# File 'lib/conekta/details.rb', line 3 def category @category end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/conekta/details.rb', line 3 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/conekta/details.rb', line 3 def name @name end |
#quantity ⇒ Object
Returns the value of attribute quantity.
3 4 5 |
# File 'lib/conekta/details.rb', line 3 def quantity @quantity end |
#sku ⇒ Object
Returns the value of attribute sku.
3 4 5 |
# File 'lib/conekta/details.rb', line 3 def sku @sku end |
#unit_price ⇒ Object
Returns the value of attribute unit_price.
3 4 5 |
# File 'lib/conekta/details.rb', line 3 def unit_price @unit_price end |