Class: EasyPost::Parcel

Inherits:
Resource show all
Defined in:
lib/easypost/parcel.rb

Overview

Parcel objects represent the physical container being shipped.

Instance Attribute Summary

Attributes inherited from EasyPostObject

#api_key, #name, #parent, #unsaved_values

Class Method Summary collapse

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

Retrieving all Parcel objects is not supported.

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/easypost/parcel.rb', line 6

def self.all(_filters = {}, _api_key = nil)
  raise NotImplementedError.new('Parcel.all not implemented.')
end