Class: ExportoAPI::LabelResource
- Defined in:
- lib/exporto_api/resources/label_resource.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from ExportoAPI::Resource
Instance Method Details
#create(payload) ⇒ Object
5 6 7 |
# File 'lib/exporto_api/resources/label_resource.rb', line 5 def create(payload) Objects::LabelResponse.new(post_request("label", body: payload)) end |