Class: FidorApi::ForbiddenError
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#key ⇒ Object
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(message, code, key) ⇒ ForbiddenError
constructor
A new instance of ForbiddenError.
Constructor Details
#initialize(message, code, key) ⇒ ForbiddenError
Returns a new instance of ForbiddenError.
12 13 14 15 16 |
# File 'lib/fidor_api/errors.rb', line 12 def initialize(, code, key) super() self.code = code self.key = key end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
10 11 12 |
# File 'lib/fidor_api/errors.rb', line 10 def code @code end |
#key ⇒ Object
Returns the value of attribute key.
10 11 12 |
# File 'lib/fidor_api/errors.rb', line 10 def key @key end |