module Brightpearl::APIOperations::Get

Public Instance Methods

get(id_set, query_params = nil) click to toggle source
# 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