Exception: Onesky::Errors::OneskyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/onesky/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resp) ⇒ OneskyError

Returns a new instance of OneskyError.



6
7
8
# File 'lib/onesky/errors.rb', line 6

def initialize(resp)
  @response = resp
end

Instance Attribute Details

#responseObject

Returns the value of attribute response.



5
6
7
# File 'lib/onesky/errors.rb', line 5

def response
  @response
end