Exception: Qrdot::ApiError
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(code, message, status) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(code, message, status) ⇒ ApiError
Returns a new instance of ApiError.
16 17 18 19 20 |
# File 'lib/qrdot.rb', line 16 def initialize(code, , status) super() @code = code @status = status end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
14 15 16 |
# File 'lib/qrdot.rb', line 14 def code @code end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
14 15 16 |
# File 'lib/qrdot.rb', line 14 def status @status end |