Class: Ocpp::Rails::TimestampParser::Result
- Inherits:
-
Struct
- Object
- Struct
- Ocpp::Rails::TimestampParser::Result
- Defined in:
- app/services/ocpp/rails/timestamp_parser.rb
Instance Attribute Summary collapse
-
#raw ⇒ Object
Returns the value of attribute raw.
-
#source ⇒ Object
Returns the value of attribute source.
-
#time ⇒ Object
Returns the value of attribute time.
Instance Method Summary collapse
Instance Attribute Details
#raw ⇒ Object
Returns the value of attribute raw
11 12 13 |
# File 'app/services/ocpp/rails/timestamp_parser.rb', line 11 def raw @raw end |
#source ⇒ Object
Returns the value of attribute source
11 12 13 |
# File 'app/services/ocpp/rails/timestamp_parser.rb', line 11 def source @source end |
#time ⇒ Object
Returns the value of attribute time
11 12 13 |
# File 'app/services/ocpp/rails/timestamp_parser.rb', line 11 def time @time end |
Instance Method Details
#server_fallback? ⇒ Boolean
12 13 14 |
# File 'app/services/ocpp/rails/timestamp_parser.rb', line 12 def server_fallback? source == SOURCE_SERVER_FALLBACK end |