class IngramMicro::InboundBaseElement

Attributes

hash[RW]

Public Class Methods

new(hash) click to toggle source
# File lib/ingram_micro/inbound_base_element.rb, line 4
def initialize(hash)
  @hash = hash
end

Public Instance Methods

==(other) click to toggle source
# File lib/ingram_micro/inbound_base_element.rb, line 8
def ==(other)
  self.class == other.class &&
    @hash == other.hash
end
transaction_name() click to toggle source
# File lib/ingram_micro/inbound_base_element.rb, line 13
def transaction_name
  return @hash['message']['message_header']['transaction_name']
end