Class: TuraTEL::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/turatel_sms/configuration.rb

Overview

Used to set up and modify settings for the notifier.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



11
12
13
14
# File 'lib/turatel_sms/configuration.rb', line 11

def initialize
	@host = 'processor.smsorigin.com'
	@port = 80
end

Instance Attribute Details

#channel_codeObject

Returns the value of attribute channel_code.



8
9
10
# File 'lib/turatel_sms/configuration.rb', line 8

def channel_code
  @channel_code
end

#debugObject

Returns the value of attribute debug.



9
10
11
# File 'lib/turatel_sms/configuration.rb', line 9

def debug
  @debug
end

#hostObject

Returns the value of attribute host.



4
5
6
# File 'lib/turatel_sms/configuration.rb', line 4

def host
  @host
end

#passwordObject

Returns the value of attribute password.



7
8
9
# File 'lib/turatel_sms/configuration.rb', line 7

def password
  @password
end

#portObject

Returns the value of attribute port.



5
6
7
# File 'lib/turatel_sms/configuration.rb', line 5

def port
  @port
end

#usercodeObject

Returns the value of attribute usercode.



6
7
8
# File 'lib/turatel_sms/configuration.rb', line 6

def usercode
  @usercode
end