Class: Fastbound::Resources::SmartLists
- Inherits:
-
Object
- Object
- Fastbound::Resources::SmartLists
- Defined in:
- lib/fastbound/resources/smart_lists.rb
Instance Method Summary collapse
- #acquire_types ⇒ Object
- #calibers ⇒ Object
- #conditions ⇒ Object
- #countries_of_manufacture ⇒ Object
- #delete_types ⇒ Object
- #dispose_types ⇒ Object
- #importers ⇒ Object
-
#initialize(client) ⇒ SmartLists
constructor
A new instance of SmartLists.
- #item_types ⇒ Object
- #license_types ⇒ Object
- #locations ⇒ Object
- #manufacturers ⇒ Object
- #manufacturing_acquire_types ⇒ Object
- #manufacturing_dispose_types ⇒ Object
- #theft_loss_types ⇒ Object
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_types ⇒ Object
8 9 10 |
# File 'lib/fastbound/resources/smart_lists.rb', line 8 def acquire_types @client.get("#{base}/SmartLists/AcquireType") end |
#calibers ⇒ Object
12 13 14 |
# File 'lib/fastbound/resources/smart_lists.rb', line 12 def calibers @client.get("#{base}/SmartLists/Caliber") end |
#conditions ⇒ Object
16 17 18 |
# File 'lib/fastbound/resources/smart_lists.rb', line 16 def conditions @client.get("#{base}/SmartLists/Condition") end |
#countries_of_manufacture ⇒ Object
20 21 22 |
# File 'lib/fastbound/resources/smart_lists.rb', line 20 def countries_of_manufacture @client.get("#{base}/SmartLists/CountryOfManufacture") end |
#delete_types ⇒ Object
24 25 26 |
# File 'lib/fastbound/resources/smart_lists.rb', line 24 def delete_types @client.get("#{base}/SmartLists/DeleteType") end |
#dispose_types ⇒ Object
28 29 30 |
# File 'lib/fastbound/resources/smart_lists.rb', line 28 def dispose_types @client.get("#{base}/SmartLists/DisposeType") end |
#importers ⇒ Object
32 33 34 |
# File 'lib/fastbound/resources/smart_lists.rb', line 32 def importers @client.get("#{base}/SmartLists/Importer") end |
#item_types ⇒ Object
36 37 38 |
# File 'lib/fastbound/resources/smart_lists.rb', line 36 def item_types @client.get("#{base}/SmartLists/ItemType") end |
#license_types ⇒ Object
40 41 42 |
# File 'lib/fastbound/resources/smart_lists.rb', line 40 def license_types @client.get("#{base}/SmartLists/LicenseType") end |
#locations ⇒ Object
44 45 46 |
# File 'lib/fastbound/resources/smart_lists.rb', line 44 def locations @client.get("#{base}/SmartLists/Location") end |
#manufacturers ⇒ Object
48 49 50 |
# File 'lib/fastbound/resources/smart_lists.rb', line 48 def manufacturers @client.get("#{base}/SmartLists/Manufacturer") end |
#manufacturing_acquire_types ⇒ Object
60 61 62 |
# File 'lib/fastbound/resources/smart_lists.rb', line 60 def manufacturing_acquire_types @client.get("#{base}/SmartLists/ManufacturingAcquireType") end |
#manufacturing_dispose_types ⇒ Object
56 57 58 |
# File 'lib/fastbound/resources/smart_lists.rb', line 56 def manufacturing_dispose_types @client.get("#{base}/SmartLists/ManufacturingDisposeType") end |
#theft_loss_types ⇒ Object
52 53 54 |
# File 'lib/fastbound/resources/smart_lists.rb', line 52 def theft_loss_types @client.get("#{base}/SmartLists/TheftLossType") end |