class Pohoda::Parsers::Grs::GroupStocksHeaderType

Public Instance Methods

code() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 15
def code
  at 'grs:code'
end
code_attributes() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 19
def code_attributes
  attributes_at 'grs:code'
end
description() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 31
def description
  at 'grs:description'
end
description_attributes() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 35
def description_attributes
  attributes_at 'grs:description'
end
id() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 7
def id
  at 'grs:id'
end
id_attributes() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 11
def id_attributes
  attributes_at 'grs:id'
end
internet() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 39
def internet
  at 'grs:internet'
end
internet_attributes() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 43
def internet_attributes
  attributes_at 'grs:internet'
end
mark_record() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 63
def mark_record
  at 'grs:markRecord'
end
mark_record_attributes() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 67
def mark_record_attributes
  attributes_at 'grs:markRecord'
end
name() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 23
def name
  at 'grs:name'
end
name_attributes() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 27
def name_attributes
  attributes_at 'grs:name'
end
note() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 55
def note
  at 'grs:note'
end
note_attributes() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 59
def note_attributes
  attributes_at 'grs:note'
end
picture() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 47
def picture
  at 'grs:picture'
end
picture_attributes() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 51
def picture_attributes
  attributes_at 'grs:picture'
end
to_h() click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_header_type.rb, line 71
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:id] = id if has? 'grs:id'
  hash[:id_attributes] = id_attributes if has? 'grs:id'
  hash[:code] = code if has? 'grs:code'
  hash[:code_attributes] = code_attributes if has? 'grs:code'
  hash[:name] = name if has? 'grs:name'
  hash[:name_attributes] = name_attributes if has? 'grs:name'
  hash[:description] = description if has? 'grs:description'
  hash[:description_attributes] = description_attributes if has? 'grs:description'
  hash[:internet] = internet if has? 'grs:internet'
  hash[:internet_attributes] = internet_attributes if has? 'grs:internet'
  hash[:picture] = picture if has? 'grs:picture'
  hash[:picture_attributes] = picture_attributes if has? 'grs:picture'
  hash[:note] = note if has? 'grs:note'
  hash[:note_attributes] = note_attributes if has? 'grs:note'
  hash[:mark_record] = mark_record if has? 'grs:markRecord'
  hash[:mark_record_attributes] = mark_record_attributes if has? 'grs:markRecord'

  hash
end