Class: TophatterMerchant::Metadata
Class Method Summary
collapse
Methods inherited from Resource
#initialize, #to_hash
Class Method Details
.all ⇒ Object
4
5
6
|
# File 'lib/tophatter_merchant/metadata.rb', line 4
def all
get(url: "#{path}.json")
end
|
.brands ⇒ Object
16
17
18
|
# File 'lib/tophatter_merchant/metadata.rb', line 16
def brands
get(url: "#{path}/brands.json")
end
|
.carriers ⇒ Object
52
53
54
|
# File 'lib/tophatter_merchant/metadata.rb', line 52
def carriers
get(url: "#{path}/carriers.json")
end
|
.categories ⇒ Object
8
9
10
|
# File 'lib/tophatter_merchant/metadata.rb', line 8
def categories
get(url: "#{path}/categories.json")
end
|
.colors ⇒ Object
28
29
30
|
# File 'lib/tophatter_merchant/metadata.rb', line 28
def colors
get(url: "#{path}/colors.json")
end
|
.conditions ⇒ Object
12
13
14
|
# File 'lib/tophatter_merchant/metadata.rb', line 12
def conditions
get(url: "#{path}/conditions.json")
end
|
.countries ⇒ Object
32
33
34
|
# File 'lib/tophatter_merchant/metadata.rb', line 32
def countries
get(url: "#{path}/countries.json")
end
|
.country_codes ⇒ Object
36
37
38
|
# File 'lib/tophatter_merchant/metadata.rb', line 36
def country_codes
get(url: "#{path}/country_codes.json")
end
|
.materials ⇒ Object
20
21
22
|
# File 'lib/tophatter_merchant/metadata.rb', line 20
def materials
get(url: "#{path}/materials.json")
end
|
.provinces ⇒ Object
44
45
46
|
# File 'lib/tophatter_merchant/metadata.rb', line 44
def provinces
get(url: "#{path}/provinces.json")
end
|
.sizes ⇒ Object
24
25
26
|
# File 'lib/tophatter_merchant/metadata.rb', line 24
def sizes
get(url: "#{path}/sizes.json")
end
|
.states ⇒ Object
40
41
42
|
# File 'lib/tophatter_merchant/metadata.rb', line 40
def states
get(url: "#{path}/states.json")
end
|
.territories ⇒ Object
48
49
50
|
# File 'lib/tophatter_merchant/metadata.rb', line 48
def territories
get(url: "#{path}/territories.json")
end
|