Class: Txter::Configuration
- Inherits:
-
Object
- Object
- Txter::Configuration
- Defined in:
- lib/configuration.rb
Instance Attribute Summary collapse
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_key ⇒ Object
Returns the value of attribute client_key.
-
#default_from_phone_number ⇒ Object
Returns the value of attribute default_from_phone_number.
-
#gateway ⇒ Object
Returns the value of attribute gateway.
-
#proxy_address ⇒ Object
Returns the value of attribute proxy_address.
-
#proxy_password ⇒ Object
Returns the value of attribute proxy_password.
-
#proxy_port ⇒ Object
Returns the value of attribute proxy_port.
-
#proxy_username ⇒ Object
Returns the value of attribute proxy_username.
-
#short_code ⇒ Object
Returns the value of attribute short_code.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize {|_self| ... } ⇒ Configuration
Returns a new instance of Configuration.
37 38 39 |
# File 'lib/configuration.rb', line 37 def initialize yield self end |
Instance Attribute Details
#client_id ⇒ Object
Returns the value of attribute client_id.
27 28 29 |
# File 'lib/configuration.rb', line 27 def client_id @client_id end |
#client_key ⇒ Object
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_number ⇒ Object
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 |
#gateway ⇒ Object
Returns the value of attribute gateway.
29 30 31 |
# File 'lib/configuration.rb', line 29 def gateway @gateway end |
#proxy_address ⇒ Object
Returns the value of attribute proxy_address.
32 33 34 |
# File 'lib/configuration.rb', line 32 def proxy_address @proxy_address end |
#proxy_password ⇒ Object
Returns the value of attribute proxy_password.
35 36 37 |
# File 'lib/configuration.rb', line 35 def proxy_password @proxy_password end |
#proxy_port ⇒ Object
Returns the value of attribute proxy_port.
33 34 35 |
# File 'lib/configuration.rb', line 33 def proxy_port @proxy_port end |
#proxy_username ⇒ Object
Returns the value of attribute proxy_username.
34 35 36 |
# File 'lib/configuration.rb', line 34 def proxy_username @proxy_username end |
#short_code ⇒ Object
Returns the value of attribute short_code.
30 31 32 |
# File 'lib/configuration.rb', line 30 def short_code @short_code end |