Class: GreenButtonData::Parser::ApplicationInformation

Inherits:
Object
  • Object
show all
Includes:
Enumerations, Utilities, SAXMachine
Defined in:
lib/green-button-data/parser/application_information.rb

Constant Summary

Constants included from Enumerations

Enumerations::ACCUMULATION, Enumerations::AUTHORIZATION_STATUS, Enumerations::COMMODITY, Enumerations::CURRENCY, Enumerations::DATA_CUSTODIAN_APPLICATION_STATUS, Enumerations::DATA_QUALIFIER, Enumerations::ESPI_SERVICE_STATUS, Enumerations::FLOW_DIRECTION, Enumerations::MEASUREMENT, Enumerations::PHASE_CODE, Enumerations::QUALITY_OF_READING, Enumerations::SERVICE, Enumerations::THIRD_PARTY_APPLICATION_STATUS, Enumerations::THIRD_PARTY_APPLICATION_TYPE, Enumerations::THIRD_PARTY_APPLICATION_USE, Enumerations::TIME_ATTRIBUTE, Enumerations::TIME_PERIOD_OF_INTEREST, Enumerations::UNIT_MULTIPLIER, Enumerations::UNIT_SYMBOL

Instance Method Summary collapse

Methods included from Utilities

#attributes_to_hash, #class_from_name, #epoch_to_time, #first_sunday_of, #last_weekday_of, #normalize_epoch, #nth_weekday_of, #parse_datetime, #weekday_offset

Instance Method Details

#application_statusObject



62
63
64
# File 'lib/green-button-data/parser/application_information.rb', line 62

def application_status
  DATA_CUSTODIAN_APPLICATION_STATUS[@data_custodian_application_status]
end

#application_typeObject



66
67
68
# File 'lib/green-button-data/parser/application_information.rb', line 66

def application_type
  THIRD_PARTY_APPLICATION_TYPE[@third_party_application_type]
end

#application_useObject



70
71
72
# File 'lib/green-button-data/parser/application_information.rb', line 70

def application_use
  THIRD_PARTY_APPLICATION_USE[@third_party_application_use]
end