Class: Ocpp::Rails::StationAuthenticator::Result
- Inherits:
-
Struct
- Object
- Struct
- Ocpp::Rails::StationAuthenticator::Result
- Defined in:
- app/services/ocpp/rails/station_authenticator.rb
Instance Attribute Summary collapse
-
#charge_point ⇒ Object
Returns the value of attribute charge_point.
-
#failure ⇒ Object
Returns the value of attribute failure.
Instance Method Summary collapse
Instance Attribute Details
#charge_point ⇒ Object
Returns the value of attribute charge_point
8 9 10 |
# File 'app/services/ocpp/rails/station_authenticator.rb', line 8 def charge_point @charge_point end |
#failure ⇒ Object
Returns the value of attribute failure
8 9 10 |
# File 'app/services/ocpp/rails/station_authenticator.rb', line 8 def failure @failure end |
Instance Method Details
#success? ⇒ Boolean
9 10 11 |
# File 'app/services/ocpp/rails/station_authenticator.rb', line 9 def success? failure.nil? end |