Class: AdaptlyCube::Configuration
- Inherits:
-
Object
- Object
- AdaptlyCube::Configuration
- Defined in:
- lib/adaptly_cube.rb
Instance Attribute Summary collapse
-
#cube_host ⇒ Object
Returns the value of attribute cube_host.
-
#cube_port ⇒ Object
Returns the value of attribute cube_port.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 |
# File 'lib/adaptly_cube.rb', line 9 def initialize @cube_host = 'localhost' @cube_port = 1081 end |
Instance Attribute Details
#cube_host ⇒ Object
Returns the value of attribute cube_host.
5 6 7 |
# File 'lib/adaptly_cube.rb', line 5 def cube_host @cube_host end |
#cube_port ⇒ Object
Returns the value of attribute cube_port.
5 6 7 |
# File 'lib/adaptly_cube.rb', line 5 def cube_port @cube_port end |