class Pohoda::Parsers::Pay::CashDefaultType

Public Instance Methods

default() click to toggle source
# File lib/pohoda/parsers/pay/cash_default_type.rb, line 7
def default
  at 'pay:default'
end
default_attributes() click to toggle source
# File lib/pohoda/parsers/pay/cash_default_type.rb, line 11
def default_attributes
  attributes_at 'pay:default'
end
to_h() click to toggle source
# File lib/pohoda/parsers/pay/cash_default_type.rb, line 15
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:default] = default if has? 'pay:default'
  hash[:default_attributes] = default_attributes if has? 'pay:default'

  hash
end