Class: Ocpp::Rails::StationAuthenticator::Result

Inherits:
Struct
  • Object
show all
Defined in:
app/services/ocpp/rails/station_authenticator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#charge_pointObject

Returns the value of attribute charge_point

Returns:

  • (Object)

    the current value of charge_point



8
9
10
# File 'app/services/ocpp/rails/station_authenticator.rb', line 8

def charge_point
  @charge_point
end

#failureObject

Returns the value of attribute failure

Returns:

  • (Object)

    the current value of failure



8
9
10
# File 'app/services/ocpp/rails/station_authenticator.rb', line 8

def failure
  @failure
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'app/services/ocpp/rails/station_authenticator.rb', line 9

def success?
  failure.nil?
end