Exception: MessageMediaSigningKeys::GetSignatureKeyList400ResponseException
- Inherits:
-
APIException
- Object
- StandardError
- APIException
- MessageMediaSigningKeys::GetSignatureKeyList400ResponseException
- Defined in:
- lib/message_media_signing_keys/exceptions/get_signature_key_list400_response_exception.rb
Overview
Get signature key list 400 response class.
Instance Attribute Summary collapse
-
#details ⇒ List of String
TODO: Write general description for this method.
-
#message ⇒ String
TODO: Write general description for this method.
Attributes inherited from APIException
Instance Method Summary collapse
-
#initialize(reason, context) ⇒ GetSignatureKeyList400ResponseException
constructor
The constructor.
-
#unbox(hash) ⇒ Object
Populates this object by extracting properties from a hash.
Constructor Details
#initialize(reason, context) ⇒ GetSignatureKeyList400ResponseException
The constructor.
18 19 20 21 22 |
# File 'lib/message_media_signing_keys/exceptions/get_signature_key_list400_response_exception.rb', line 18 def initialize(reason, context) super(reason, context) hash = APIHelper.json_deserialize(@context.response.raw_body) unbox(hash) end |
Instance Attribute Details
#details ⇒ List of String
TODO: Write general description for this method
13 14 15 |
# File 'lib/message_media_signing_keys/exceptions/get_signature_key_list400_response_exception.rb', line 13 def details @details end |
#message ⇒ String
TODO: Write general description for this method
9 10 11 |
# File 'lib/message_media_signing_keys/exceptions/get_signature_key_list400_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.
27 28 29 30 |
# File 'lib/message_media_signing_keys/exceptions/get_signature_key_list400_response_exception.rb', line 27 def unbox(hash) @message = hash['message'] @details = hash['details'] end |