Class: Snap::Models::Shipment
- Inherits:
-
Hashie::Dash
- Object
- Hashie::Dash
- Snap::Models::Shipment
- Includes:
- ActiveModel::Validations, Hashie::Extensions::Dash::Coercion, Hashie::Extensions::IndifferentAccess
- Defined in:
- lib/snap/models/shipment.rb
Overview
A representation of a Snap Shipment object.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Shipment
constructor
A new instance of Shipment.
Constructor Details
#initialize(*args) ⇒ Shipment
Returns a new instance of Shipment.
9 10 11 12 |
# File 'lib/snap/models/shipment.rb', line 9 def initialize(*args) super(*args) validate! end |