class MoneyS3::Parsers::StavZasobyType

Public Instance Methods

objednano() click to toggle source
# File lib/money_s3/parsers/stav_zasoby_type.rb, line 22
def objednano
  at 'Objednano'
end
objednano_attributes() click to toggle source
# File lib/money_s3/parsers/stav_zasoby_type.rb, line 26
def objednano_attributes
  attributes_at 'Objednano'
end
rezervace() click to toggle source
# File lib/money_s3/parsers/stav_zasoby_type.rb, line 14
def rezervace
  at 'Rezervace'
end
rezervace_attributes() click to toggle source
# File lib/money_s3/parsers/stav_zasoby_type.rb, line 18
def rezervace_attributes
  attributes_at 'Rezervace'
end
to_h() click to toggle source
# File lib/money_s3/parsers/stav_zasoby_type.rb, line 30
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:zasoba] = zasoba if has? 'Zasoba'
  hash[:zasoba_attributes] = zasoba_attributes if has? 'Zasoba'
  hash[:rezervace] = rezervace if has? 'Rezervace'
  hash[:rezervace_attributes] = rezervace_attributes if has? 'Rezervace'
  hash[:objednano] = objednano if has? 'Objednano'
  hash[:objednano_attributes] = objednano_attributes if has? 'Objednano'

  hash
end
zasoba() click to toggle source
# File lib/money_s3/parsers/stav_zasoby_type.rb, line 6
def zasoba
  at 'Zasoba'
end
zasoba_attributes() click to toggle source
# File lib/money_s3/parsers/stav_zasoby_type.rb, line 10
def zasoba_attributes
  attributes_at 'Zasoba'
end