Class: IngramMicro::InventorySync
Instance Attribute Summary
#hash
Instance Method Summary
collapse
#==, #initialize, #transaction_name
Instance Method Details
#detail ⇒ Object
11
12
13
14
|
# File 'lib/ingram_micro/inbound_elements/inventory_sync.rb', line 11
def detail
detail = @hash['message']['inventory_synchronization']['detail']
IngramMicro::InventorySyncDetail.new(detail)
end
|
#inventory_status ⇒ Object
7
8
9
|
# File 'lib/ingram_micro/inbound_elements/inventory_sync.rb', line 7
def inventory_status
@hash['message']['inventory_synchronization']
end
|
3
4
5
|
# File 'lib/ingram_micro/inbound_elements/inventory_sync.rb', line 3
def
@hash['message']['message_header']
end
|