Exception: Sift::ApiError
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(message, response) ⇒ ApiError
Returns a new instance of ApiError.
8 9 10 11 |
# File 'lib/sift/error.rb', line 8 def initialize(, response) @message = @response = response end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
6 7 8 |
# File 'lib/sift/error.rb', line 6 def @message end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
6 7 8 |
# File 'lib/sift/error.rb', line 6 def response @response end |