Exception: MessageMediaSigningKeys::GetEnabledSignatureKey403ResponseException
- Inherits:
-
APIException
- Object
- StandardError
- APIException
- MessageMediaSigningKeys::GetEnabledSignatureKey403ResponseException
- Defined in:
- lib/message_media_signing_keys/exceptions/get_enabled_signature_key403_response_exception.rb
Overview
Get enabled signature key 403 response class.
Instance Attribute Summary collapse
-
#message ⇒ String
TODO: Write general description for this method.
Attributes inherited from APIException
Instance Method Summary collapse
-
#initialize(reason, context) ⇒ GetEnabledSignatureKey403ResponseException
constructor
The constructor.
-
#unbox(hash) ⇒ Object
Populates this object by extracting properties from a hash.
Constructor Details
#initialize(reason, context) ⇒ GetEnabledSignatureKey403ResponseException
The constructor.
14 15 16 17 18 |
# File 'lib/message_media_signing_keys/exceptions/get_enabled_signature_key403_response_exception.rb', line 14 def initialize(reason, context) super(reason, context) hash = APIHelper.json_deserialize(@context.response.raw_body) unbox(hash) end |
Instance Attribute Details
#message ⇒ String
TODO: Write general description for this method
9 10 11 |
# File 'lib/message_media_signing_keys/exceptions/get_enabled_signature_key403_response_exception.rb', line 9 def @message end |
Instance Method Details
#unbox(hash) ⇒ Object
Populates this object by extracting properties from a hash. response body.
23 24 25 |
# File 'lib/message_media_signing_keys/exceptions/get_enabled_signature_key403_response_exception.rb', line 23 def unbox(hash) @message = hash['message'] end |