Exception: Appoxy::Api::ServiceError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/api/client_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(class_name, body) ⇒ ServiceError

Returns a new instance of ServiceError.



25
26
27
28
29
# File 'lib/api/client_helper.rb', line 25

def initialize(class_name, body)
  super("#{class_name}")
  @body = body

end

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body.



23
24
25
# File 'lib/api/client_helper.rb', line 23

def body
  @body
end