Class: Telize::Config
- Inherits:
-
Object
- Object
- Telize::Config
- Defined in:
- lib/telize/config.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#port ⇒ Object
Returns the value of attribute port.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
5 6 7 8 9 |
# File 'lib/telize/config.rb', line 5 def initialize @host = 'www.telize.com' @port = nil @timeout = 10 end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/telize/config.rb', line 3 def host @host end |
#port ⇒ Object
Returns the value of attribute port.
3 4 5 |
# File 'lib/telize/config.rb', line 3 def port @port end |
#timeout ⇒ Object
Returns the value of attribute timeout.
3 4 5 |
# File 'lib/telize/config.rb', line 3 def timeout @timeout end |