class MoneyS3::Parsers::Vlajky

Public Instance Methods

global() click to toggle source
# File lib/money_s3/parsers/vlajky.rb, line 6
def global
  submodel_at(VlajkaType, 'Global')
end
to_h() click to toggle source
# File lib/money_s3/parsers/vlajky.rb, line 14
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:global] = global.to_h if has? 'Global'
  hash[:user] = user.to_h if has? 'User'

  hash
end
user() click to toggle source
# File lib/money_s3/parsers/vlajky.rb, line 10
def user
  submodel_at(VlajkaType, 'User')
end