Method: Redox::Models::Transaction#to_h

Defined in:
lib/redox/models/transaction.rb

#to_hObject



60
61
62
63
64
65
66
67
68
# File 'lib/redox/models/transaction.rb', line 60

def to_h
  result = super.to_h

  %w[EndDateTime DateTimeOfService].each do |k|
    result[k] = Redox::Models.format_datetime(result[k])
  end

  result
end