Class: TophatterMerchant::Metadata
- Defined in:
- lib/tophatter_merchant/metadata.rb
Class Method Summary collapse
-
.all ⇒ Object
ap TophatterMerchant::Metadata.all.
-
.brands ⇒ Object
ap TophatterMerchant::Metadata.brands.
-
.carriers ⇒ Object
ap TophatterMerchant::Metadata.carriers.
-
.categories ⇒ Object
ap TophatterMerchant::Metadata.categories.
-
.colors ⇒ Object
ap TophatterMerchant::Metadata.colors.
-
.conditions ⇒ Object
ap TophatterMerchant::Metadata.conditions.
-
.countries ⇒ Object
ap TophatterMerchant::Metadata.countries.
-
.country_codes ⇒ Object
ap TophatterMerchant::Metadata.country_codes.
-
.materials ⇒ Object
ap TophatterMerchant::Metadata.materials.
-
.provinces ⇒ Object
ap TophatterMerchant::Metadata.provinces.
-
.sizes ⇒ Object
ap TophatterMerchant::Metadata.sizes.
-
.states ⇒ Object
ap TophatterMerchant::Metadata.states.
-
.territories ⇒ Object
ap TophatterMerchant::Metadata.territories.
Methods inherited from Resource
attr_accessor, #attributes, attributes, #attributes=, #initialize, #persisted?, #to_h
Constructor Details
This class inherits a constructor from TophatterMerchant::Resource
Class Method Details
.all ⇒ Object
ap TophatterMerchant::Metadata.all
5 6 7 |
# File 'lib/tophatter_merchant/metadata.rb', line 5 def all get(url: "#{path}.json") end |
.brands ⇒ Object
ap TophatterMerchant::Metadata.brands
20 21 22 |
# File 'lib/tophatter_merchant/metadata.rb', line 20 def brands get(url: "#{path}/brands.json") end |
.carriers ⇒ Object
ap TophatterMerchant::Metadata.carriers
65 66 67 |
# File 'lib/tophatter_merchant/metadata.rb', line 65 def carriers get(url: "#{path}/carriers.json") end |
.categories ⇒ Object
ap TophatterMerchant::Metadata.categories
10 11 12 |
# File 'lib/tophatter_merchant/metadata.rb', line 10 def categories get(url: "#{path}/categories.json") end |
.colors ⇒ Object
ap TophatterMerchant::Metadata.colors
35 36 37 |
# File 'lib/tophatter_merchant/metadata.rb', line 35 def colors get(url: "#{path}/colors.json") end |
.conditions ⇒ Object
ap TophatterMerchant::Metadata.conditions
15 16 17 |
# File 'lib/tophatter_merchant/metadata.rb', line 15 def conditions get(url: "#{path}/conditions.json") end |
.countries ⇒ Object
ap TophatterMerchant::Metadata.countries
40 41 42 |
# File 'lib/tophatter_merchant/metadata.rb', line 40 def countries get(url: "#{path}/countries.json") end |
.country_codes ⇒ Object
ap TophatterMerchant::Metadata.country_codes
45 46 47 |
# File 'lib/tophatter_merchant/metadata.rb', line 45 def country_codes get(url: "#{path}/country_codes.json") end |
.materials ⇒ Object
ap TophatterMerchant::Metadata.materials
25 26 27 |
# File 'lib/tophatter_merchant/metadata.rb', line 25 def materials get(url: "#{path}/materials.json") end |
.provinces ⇒ Object
ap TophatterMerchant::Metadata.provinces
55 56 57 |
# File 'lib/tophatter_merchant/metadata.rb', line 55 def provinces get(url: "#{path}/provinces.json") end |
.sizes ⇒ Object
ap TophatterMerchant::Metadata.sizes
30 31 32 |
# File 'lib/tophatter_merchant/metadata.rb', line 30 def sizes get(url: "#{path}/sizes.json") end |
.states ⇒ Object
ap TophatterMerchant::Metadata.states
50 51 52 |
# File 'lib/tophatter_merchant/metadata.rb', line 50 def states get(url: "#{path}/states.json") end |
.territories ⇒ Object
ap TophatterMerchant::Metadata.territories
60 61 62 |
# File 'lib/tophatter_merchant/metadata.rb', line 60 def territories get(url: "#{path}/territories.json") end |