Exception: CPRClient::NewPasswordError
- Inherits:
-
ClientError
- Object
- StandardError
- ClientError
- CPRClient::NewPasswordError
- Defined in:
- lib/cpr_client/errors.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code) ⇒ NewPasswordError
constructor
Returns a new instance of NewPasswordError.
Constructor Details
#initialize(code) ⇒ NewPasswordError
Returns a new instance of NewPasswordError.
26 27 28 29 |
# File 'lib/cpr_client/errors.rb', line 26 def initialize(code) @code = code super("CPRClient failed to update password [#{code}]") end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
21 22 23 |
# File 'lib/cpr_client/errors.rb', line 21 def code @code end |