Class: Nimbus::V4::BaseController::ResponseCode
- Inherits:
-
Object
- Object
- Nimbus::V4::BaseController::ResponseCode
- Defined in:
- app/controllers/mno_enterprise/nimbus/v4/base_controller.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
Returns the value of attribute error_code.
-
#http_code ⇒ Object
Returns the value of attribute http_code.
Instance Method Summary collapse
-
#initialize(error_code, http_code) ⇒ ResponseCode
constructor
A new instance of ResponseCode.
Constructor Details
#initialize(error_code, http_code) ⇒ ResponseCode
Returns a new instance of ResponseCode.
11 12 13 14 |
# File 'app/controllers/mno_enterprise/nimbus/v4/base_controller.rb', line 11 def initialize(error_code, http_code) @error_code = error_code @http_code = http_code end |
Instance Attribute Details
#error_code ⇒ Object
Returns the value of attribute error_code.
9 10 11 |
# File 'app/controllers/mno_enterprise/nimbus/v4/base_controller.rb', line 9 def error_code @error_code end |
#http_code ⇒ Object
Returns the value of attribute http_code.
9 10 11 |
# File 'app/controllers/mno_enterprise/nimbus/v4/base_controller.rb', line 9 def http_code @http_code end |