Class: Printavo::MerchOrder

Inherits:
Printavo::Models::Base show all
Defined in:
lib/printavo/models/merch_order.rb

Instance Method Summary collapse

Methods inherited from Printavo::Models::Base

#==, #[], #dig, #initialize, #inspect, #to_h

Constructor Details

This class inherits a constructor from Printavo::Models::Base

Instance Method Details

#contactObject



10
11
12
13
# File 'lib/printavo/models/merch_order.rb', line 10

def contact
  attrs = self['contact']
  Contact.new(attrs) if attrs
end

#deliveryObject



8
# File 'lib/printavo/models/merch_order.rb', line 8

def delivery = self['delivery']

#idObject



6
# File 'lib/printavo/models/merch_order.rb', line 6

def id       = self['id']

#statusObject



7
# File 'lib/printavo/models/merch_order.rb', line 7

def status   = self['status']