Exception: TezosClient::InvalidActivation
- Inherits:
-
RpcRequestFailure
- Object
- Exception
- RpcRequestFailure
- TezosClient::InvalidActivation
- Defined in:
- lib/tezos_client/exceptions.rb
Instance Attribute Summary collapse
-
#pkh ⇒ Object
readonly
Returns the value of attribute pkh.
Attributes inherited from RpcRequestFailure
Instance Method Summary collapse
-
#initialize(error:, **_args) ⇒ InvalidActivation
constructor
A new instance of InvalidActivation.
Constructor Details
#initialize(error:, **_args) ⇒ InvalidActivation
Returns a new instance of InvalidActivation.
24 25 26 27 28 |
# File 'lib/tezos_client/exceptions.rb', line 24 def initialize(error:, **_args) @pkh = error[:pkh] = "Invalid activation (pkh: #{pkh})" super end |
Instance Attribute Details
#pkh ⇒ Object (readonly)
Returns the value of attribute pkh.
22 23 24 |
# File 'lib/tezos_client/exceptions.rb', line 22 def pkh @pkh end |