Exception: UptimeRobot::Error
- Inherits:
-
StandardError
- Object
- StandardError
- UptimeRobot::Error
- Defined in:
- lib/uptimerobot/error.rb
Instance Attribute Summary collapse
-
#json ⇒ Object
readonly
Returns the value of attribute json.
Instance Method Summary collapse
-
#initialize(json) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(json) ⇒ Error
Returns a new instance of Error.
4 5 6 7 |
# File 'lib/uptimerobot/error.rb', line 4 def initialize(json) @json = json super(json.inspect) end |
Instance Attribute Details
#json ⇒ Object (readonly)
Returns the value of attribute json.
2 3 4 |
# File 'lib/uptimerobot/error.rb', line 2 def json @json end |