Class: Nimbus::V4::BaseController::ResponseCode

Inherits:
Object
  • Object
show all
Defined in:
app/controllers/mno_enterprise/nimbus/v4/base_controller.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error_code, http_code) ⇒ ResponseCode

Returns a new instance of ResponseCode.



10
11
12
13
# File 'app/controllers/mno_enterprise/nimbus/v4/base_controller.rb', line 10

def initialize(error_code, http_code)
  @error_code = error_code
  @http_code = http_code
end

Instance Attribute Details

#error_codeObject

Returns the value of attribute error_code.



8
9
10
# File 'app/controllers/mno_enterprise/nimbus/v4/base_controller.rb', line 8

def error_code
  @error_code
end

#http_codeObject

Returns the value of attribute http_code.



8
9
10
# File 'app/controllers/mno_enterprise/nimbus/v4/base_controller.rb', line 8

def http_code
  @http_code
end