class Pohoda::Parsers::Gdp::GDPRHeaderType

Public Instance Methods

description() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 31
def description
  at 'gdp:description'
end
description_attributes() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 35
def description_attributes
  attributes_at 'gdp:description'
end
gdpr_type() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 15
def gdpr_type
  at 'gdp:GDPRType'
end
gdpr_type_attributes() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 19
def gdpr_type_attributes
  attributes_at 'gdp:GDPRType'
end
id() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 7
def id
  at 'gdp:id'
end
id_attributes() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 11
def id_attributes
  attributes_at 'gdp:id'
end
mark_record() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 63
def mark_record
  at 'gdp:markRecord'
end
mark_record_attributes() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 67
def mark_record_attributes
  attributes_at 'gdp:markRecord'
end
name() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 23
def name
  at 'gdp:name'
end
name_attributes() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 27
def name_attributes
  attributes_at 'gdp:name'
end
note() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 55
def note
  at 'gdp:note'
end
note_attributes() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 59
def note_attributes
  attributes_at 'gdp:note'
end
to_h() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 71
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:id] = id if has? 'gdp:id'
  hash[:id_attributes] = id_attributes if has? 'gdp:id'
  hash[:gdpr_type] = gdpr_type if has? 'gdp:GDPRType'
  hash[:gdpr_type_attributes] = gdpr_type_attributes if has? 'gdp:GDPRType'
  hash[:name] = name if has? 'gdp:name'
  hash[:name_attributes] = name_attributes if has? 'gdp:name'
  hash[:description] = description if has? 'gdp:description'
  hash[:description_attributes] = description_attributes if has? 'gdp:description'
  hash[:value_of_validity] = value_of_validity if has? 'gdp:valueOfValidity'
  hash[:value_of_validity_attributes] = value_of_validity_attributes if has? 'gdp:valueOfValidity'
  hash[:type_of_validity] = type_of_validity if has? 'gdp:typeOfValidity'
  hash[:type_of_validity_attributes] = type_of_validity_attributes if has? 'gdp:typeOfValidity'
  hash[:note] = note if has? 'gdp:note'
  hash[:note_attributes] = note_attributes if has? 'gdp:note'
  hash[:mark_record] = mark_record if has? 'gdp:markRecord'
  hash[:mark_record_attributes] = mark_record_attributes if has? 'gdp:markRecord'

  hash
end
type_of_validity() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 47
def type_of_validity
  at 'gdp:typeOfValidity'
end
type_of_validity_attributes() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 51
def type_of_validity_attributes
  attributes_at 'gdp:typeOfValidity'
end
value_of_validity() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 39
def value_of_validity
  at 'gdp:valueOfValidity'
end
value_of_validity_attributes() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_header_type.rb, line 43
def value_of_validity_attributes
  attributes_at 'gdp:valueOfValidity'
end