Exception: DocomoImageRecognition::ApiError
- Defined in:
- lib/docomo_image_recognition/error.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(body) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(body) ⇒ ApiError
Returns a new instance of ApiError.
10 11 12 |
# File 'lib/docomo_image_recognition/error.rb', line 10 def initialize(body) @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
9 10 11 |
# File 'lib/docomo_image_recognition/error.rb', line 9 def body @body end |