Module: Brightpearl::APIOperations::Get
- Included in:
- Order, OrderStatus, PriceList, Product, ProductAvailability, TaxCode
- Defined in:
- lib/brightpearl/api_operations/get.rb
Instance Method Summary collapse
Instance Method Details
#get(id_set, query_params = nil) ⇒ Object
4 5 6 7 8 |
# File 'lib/brightpearl/api_operations/get.rb', line 4 def get(id_set, query_params = nil) path = "#{resource_path}/#{id_set}" path = "#{path}?#{to_query(query_params)}" if query_params send_request(path: path, method: :get) end |