class Pohoda::Parsers::Pay::TicketType

Public Instance Methods

to_h() click to toggle source
# File lib/pohoda/parsers/pay/ticket_type.rb, line 15
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:value] = value if has? 'pay:value'
  hash[:value_attributes] = value_attributes if has? 'pay:value'

  hash
end
value() click to toggle source
# File lib/pohoda/parsers/pay/ticket_type.rb, line 7
def value
  at 'pay:value'
end
value_attributes() click to toggle source
# File lib/pohoda/parsers/pay/ticket_type.rb, line 11
def value_attributes
  attributes_at 'pay:value'
end