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