Class: Fastbound::Resources::SmartLists

Inherits:
Object
  • Object
show all
Defined in:
lib/fastbound/resources/smart_lists.rb

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ SmartLists

Returns a new instance of SmartLists.



4
5
6
# File 'lib/fastbound/resources/smart_lists.rb', line 4

def initialize(client)
  @client = client
end

Instance Method Details

#acquire_typesObject



8
9
10
# File 'lib/fastbound/resources/smart_lists.rb', line 8

def acquire_types
  @client.get("#{base}/SmartLists/AcquireType")
end

#calibersObject



12
13
14
# File 'lib/fastbound/resources/smart_lists.rb', line 12

def calibers
  @client.get("#{base}/SmartLists/Caliber")
end

#conditionsObject



16
17
18
# File 'lib/fastbound/resources/smart_lists.rb', line 16

def conditions
  @client.get("#{base}/SmartLists/Condition")
end

#countries_of_manufactureObject



20
21
22
# File 'lib/fastbound/resources/smart_lists.rb', line 20

def countries_of_manufacture
  @client.get("#{base}/SmartLists/CountryOfManufacture")
end

#delete_typesObject



24
25
26
# File 'lib/fastbound/resources/smart_lists.rb', line 24

def delete_types
  @client.get("#{base}/SmartLists/DeleteType")
end

#dispose_typesObject



28
29
30
# File 'lib/fastbound/resources/smart_lists.rb', line 28

def dispose_types
  @client.get("#{base}/SmartLists/DisposeType")
end

#importersObject



32
33
34
# File 'lib/fastbound/resources/smart_lists.rb', line 32

def importers
  @client.get("#{base}/SmartLists/Importer")
end

#item_typesObject



36
37
38
# File 'lib/fastbound/resources/smart_lists.rb', line 36

def item_types
  @client.get("#{base}/SmartLists/ItemType")
end

#license_typesObject



40
41
42
# File 'lib/fastbound/resources/smart_lists.rb', line 40

def license_types
  @client.get("#{base}/SmartLists/LicenseType")
end

#locationsObject



44
45
46
# File 'lib/fastbound/resources/smart_lists.rb', line 44

def locations
  @client.get("#{base}/SmartLists/Location")
end

#manufacturersObject



48
49
50
# File 'lib/fastbound/resources/smart_lists.rb', line 48

def manufacturers
  @client.get("#{base}/SmartLists/Manufacturer")
end

#manufacturing_acquire_typesObject



60
61
62
# File 'lib/fastbound/resources/smart_lists.rb', line 60

def manufacturing_acquire_types
  @client.get("#{base}/SmartLists/ManufacturingAcquireType")
end

#manufacturing_dispose_typesObject



56
57
58
# File 'lib/fastbound/resources/smart_lists.rb', line 56

def manufacturing_dispose_types
  @client.get("#{base}/SmartLists/ManufacturingDisposeType")
end

#theft_loss_typesObject



52
53
54
# File 'lib/fastbound/resources/smart_lists.rb', line 52

def theft_loss_types
  @client.get("#{base}/SmartLists/TheftLossType")
end