Exception: EphemeralCalc::GoogleAPI::RequestError
- Inherits:
-
StandardError
- Object
- StandardError
- EphemeralCalc::GoogleAPI::RequestError
- Defined in:
- lib/ephemeral_calc/google_api/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.
63 64 65 |
# File 'lib/ephemeral_calc/google_api/request.rb', line 63 def initialize(code) self.code = code end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
62 63 64 |
# File 'lib/ephemeral_calc/google_api/request.rb', line 62 def code @code end |