Class: FastBound::SmartList

Inherits:
Base
  • Object
show all
Includes:
API
Defined in:
lib/fastbound-ruby/smart_list.rb

Constant Summary collapse

ENDPOINTS =
{
  acquire_type:               "smartlists/acquiretype".freeze,
  caliber:                    "smartlists/caliber".freeze,
  condition:                  "smartlists/condition".freeze,
  country_of_manufacture:     "smartlists/countryofmanufacture".freeze,
  delete_type:                "smartlists/deletetype".freeze,
  dispose_type:               "smartlists/disposetype".freeze,
  importer:                   "smartlists/importer".freeze,
  item_type:                  "smartlists/itemtype".freeze,
  license_type:               "smartlists/licensetype".freeze,
  location:                   "smartlists/location".freeze,
  theft_loss_type:            "smartlists/theftlosstype".freeze,
  manufacturer:               "smartlists/manufacturer".freeze,
  manufacturing_dispose_type: "smartlists/manufacturingdisposetype".freeze,
  manufacturing_acquire_type: "smartlists/manufacturingacquiretype".freeze
}

Constants included from API

API::FILE_UPLOAD_ATTRS, API::ROOT_URL, API::USER_AGENT

Instance Method Summary collapse

Methods included from API

#delete_request, #get_request, #post_file_request, #post_request, #put_request

Constructor Details

#initialize(client) ⇒ SmartList

Returns a new instance of SmartList.



25
26
27
# File 'lib/fastbound-ruby/smart_list.rb', line 25

def initialize(client)
  @client = client
end