Class: SageWorld::Api::SupplierList
- Defined in:
- lib/sage_world/api/supplier_list.rb
Class Method Summary collapse
-
.get(params = {}) ⇒ Object
AllLines => if set to 1 will return AllLines with every supplier e.g response = SageWorld::Api::SupplierList.get({ alllines: 1 }).
Class Method Details
.get(params = {}) ⇒ Object
AllLines => if set to 1 will return AllLines with every supplier e.g response = SageWorld::Api::SupplierList.get({ alllines: 1 })
23 24 25 26 27 28 29 30 31 |
# File 'lib/sage_world/api/supplier_list.rb', line 23 def self.get(params = {}) if @existing_params == params @response else @existing_params = params response = SageWorld::Client.new(list_builder(params)).send_request @response = SageWorld::ResponseHandler.new(response) end end |