Exception: ProximityBeacon::Client::RequestError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/proximity_beacon/client/request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ RequestError

Returns a new instance of RequestError.



81
82
83
# File 'lib/proximity_beacon/client/request.rb', line 81

def initialize(code)
  self.code = code
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



80
81
82
# File 'lib/proximity_beacon/client/request.rb', line 80

def code
  @code
end