Method: PrintfulClientModule#get
- Defined in:
- lib/printful_client.rb
#get(path, params = nil) ⇒ Object
Perform a GET request to the API path - Request path (e.g. ‘orders’ or ‘orders/123’) params - Additional GET parameters as a hash
39 40 41 |
# File 'lib/printful_client.rb', line 39 def get(path, params=nil) request('GET', path, params) end |