Class: EasyPost::CustomsItem
- Inherits:
-
Resource
- Object
- EasyPostObject
- Resource
- EasyPost::CustomsItem
- Defined in:
- lib/easypost/customs_item.rb
Overview
A CustomsItem object describes goods for international shipment and should be created then included in a CustomsInfo object.
Instance Attribute Summary
Attributes inherited from EasyPostObject
#api_key, #name, #parent, #unsaved_values
Class Method Summary collapse
-
.all(_filters = {}, _api_key = nil) ⇒ Object
Retrieve a list of CustomsItem objects.
Methods inherited from Resource
class_name, create, #delete, each, #refresh, retrieve, #save, url, #url
Methods inherited from EasyPostObject
#[], #[]=, #as_json, construct_from, #deconstruct_keys, #each, #id, #id=, #initialize, #inspect, #keys, #refresh_from, #to_hash, #to_json, #to_s, #values
Constructor Details
This class inherits a constructor from EasyPost::EasyPostObject
Class Method Details
.all(_filters = {}, _api_key = nil) ⇒ Object
Retrieve a list of CustomsItem objects
6 7 8 |
# File 'lib/easypost/customs_item.rb', line 6 def self.all(_filters = {}, _api_key = nil) raise NotImplementedError.new('CustomsItem.all not implemented.') end |