Exception: ProximityBeacon::Client::RequestError
- Inherits:
-
StandardError
- Object
- StandardError
- ProximityBeacon::Client::RequestError
- Defined in:
- lib/proximity_beacon/client/request.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code) ⇒ RequestError
constructor
A new instance of RequestError.
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
#code ⇒ Object
Returns the value of attribute code.
80 81 82 |
# File 'lib/proximity_beacon/client/request.rb', line 80 def code @code end |