Exception: DocomoImageRecognition::ApiError

Inherits:
Error
  • Object
show all
Defined in:
lib/docomo_image_recognition/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject (readonly)

Returns the value of attribute body.



9
10
11
# File 'lib/docomo_image_recognition/error.rb', line 9

def body
  @body
end