Class: Txter::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Configuration

Returns a new instance of Configuration.

Yields:

  • (_self)

Yield Parameters:



37
38
39
# File 'lib/configuration.rb', line 37

def initialize
  yield self
end

Instance Attribute Details

#client_idObject

Returns the value of attribute client_id.



27
28
29
# File 'lib/configuration.rb', line 27

def client_id
  @client_id
end

#client_keyObject

Returns the value of attribute client_key.



28
29
30
# File 'lib/configuration.rb', line 28

def client_key
  @client_key
end

#default_from_phone_numberObject

Returns the value of attribute default_from_phone_number.



31
32
33
# File 'lib/configuration.rb', line 31

def default_from_phone_number
  @default_from_phone_number
end

#gatewayObject

Returns the value of attribute gateway.



29
30
31
# File 'lib/configuration.rb', line 29

def gateway
  @gateway
end

#proxy_addressObject

Returns the value of attribute proxy_address.



32
33
34
# File 'lib/configuration.rb', line 32

def proxy_address
  @proxy_address
end

#proxy_passwordObject

Returns the value of attribute proxy_password.



35
36
37
# File 'lib/configuration.rb', line 35

def proxy_password
  @proxy_password
end

#proxy_portObject

Returns the value of attribute proxy_port.



33
34
35
# File 'lib/configuration.rb', line 33

def proxy_port
  @proxy_port
end

#proxy_usernameObject

Returns the value of attribute proxy_username.



34
35
36
# File 'lib/configuration.rb', line 34

def proxy_username
  @proxy_username
end

#short_codeObject

Returns the value of attribute short_code.



30
31
32
# File 'lib/configuration.rb', line 30

def short_code
  @short_code
end