Class: Telize::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/telize/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#hostObject

Returns the value of attribute host.



3
4
5
# File 'lib/telize/config.rb', line 3

def host
  @host
end

#portObject

Returns the value of attribute port.



3
4
5
# File 'lib/telize/config.rb', line 3

def port
  @port
end

#timeoutObject

Returns the value of attribute timeout.



3
4
5
# File 'lib/telize/config.rb', line 3

def timeout
  @timeout
end