Class: Shopify::Country
- Inherits:
-
ShopifyModel
- Object
- ShopifyModel
- Shopify::Country
- Defined in:
- lib/shopify.rb
Overview
/admin/countries.xml
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#tax ⇒ Object
Returns the value of attribute tax.
Attributes inherited from ShopifyModel
Instance Method Summary collapse
-
#provinces ⇒ Object
Get all province divisions within this country.
Methods inherited from ShopifyModel
children_of, #initialize, #inspect, instantiate, is_child?, top_level
Constructor Details
This class inherits a constructor from Shopify::ShopifyModel
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
86 87 88 |
# File 'lib/shopify.rb', line 86 def code @code end |
#id ⇒ Object
Returns the value of attribute id.
86 87 88 |
# File 'lib/shopify.rb', line 86 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
86 87 88 |
# File 'lib/shopify.rb', line 86 def name @name end |
#tax ⇒ Object
Returns the value of attribute tax.
86 87 88 |
# File 'lib/shopify.rb', line 86 def tax @tax end |
Instance Method Details
#provinces ⇒ Object
Get all province divisions within this country.
89 90 |
# File 'lib/shopify.rb', line 89 def provinces end |