class MoneyS3::Parsers::ReferenceType

Public Instance Methods

id() click to toggle source
# File lib/money_s3/parsers/reference_type.rb, line 6
def id
  array_of_at(String, ['ID'])
end
to_h() click to toggle source
# File lib/money_s3/parsers/reference_type.rb, line 10
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:id] = id if has? 'ID'

  hash
end