Class: Printful::StoresResource
- Defined in:
- lib/printful/resources/stores.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Printful::Resource
Instance Method Details
#list ⇒ Object
4 5 6 7 8 |
# File 'lib/printful/resources/stores.rb', line 4 def list response = get_request("stores") body = response.body["result"] Collection.from_response(body: body, type: Store) end |