Class: Shopify::Country

Inherits:
ShopifyModel show all
Defined in:
lib/shopify.rb

Overview

/admin/countries.xml

Instance Attribute Summary collapse

Attributes inherited from ShopifyModel

#shop

Instance Method Summary collapse

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

#codeObject

Returns the value of attribute code.



86
87
88
# File 'lib/shopify.rb', line 86

def code
  @code
end

#idObject

Returns the value of attribute id.



86
87
88
# File 'lib/shopify.rb', line 86

def id
  @id
end

#nameObject

Returns the value of attribute name.



86
87
88
# File 'lib/shopify.rb', line 86

def name
  @name
end

#taxObject

Returns the value of attribute tax.



86
87
88
# File 'lib/shopify.rb', line 86

def tax
  @tax
end

Instance Method Details

#provincesObject

Get all province divisions within this country.



89
90
# File 'lib/shopify.rb', line 89

def provinces
end