Class: Regolith::Configuration
- Inherits:
-
Object
- Object
- Regolith::Configuration
- Defined in:
- lib/regolith.rb
Instance Attribute Summary collapse
-
#service_name ⇒ Object
Returns the value of attribute service_name.
-
#service_port ⇒ Object
Returns the value of attribute service_port.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
47 48 49 |
# File 'lib/regolith.rb', line 47 def initialize @timeout = 30 end |
Instance Attribute Details
#service_name ⇒ Object
Returns the value of attribute service_name.
45 46 47 |
# File 'lib/regolith.rb', line 45 def service_name @service_name end |
#service_port ⇒ Object
Returns the value of attribute service_port.
45 46 47 |
# File 'lib/regolith.rb', line 45 def service_port @service_port end |
#timeout ⇒ Object
Returns the value of attribute timeout.
45 46 47 |
# File 'lib/regolith.rb', line 45 def timeout @timeout end |