Class: Configuration
- Inherits:
-
Object
- Object
- Configuration
- Defined in:
- lib/websms/configuration.rb
Instance Attribute Summary collapse
-
#alfanum_from ⇒ Object
Returns the value of attribute alfanum_from.
-
#api_password ⇒ Object
Returns the value of attribute api_password.
-
#api_user ⇒ Object
Returns the value of attribute api_user.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 |
# File 'lib/websms/configuration.rb', line 7 def initialize self.api_user = '' self.api_password = '' self.client_id = nil self.alfanum_from = nil end |
Instance Attribute Details
#alfanum_from ⇒ Object
Returns the value of attribute alfanum_from.
2 3 4 |
# File 'lib/websms/configuration.rb', line 2 def alfanum_from @alfanum_from end |
#api_password ⇒ Object
Returns the value of attribute api_password.
2 3 4 |
# File 'lib/websms/configuration.rb', line 2 def api_password @api_password end |
#api_user ⇒ Object
Returns the value of attribute api_user.
2 3 4 |
# File 'lib/websms/configuration.rb', line 2 def api_user @api_user end |
#client_id ⇒ Object
Returns the value of attribute client_id.
2 3 4 |
# File 'lib/websms/configuration.rb', line 2 def client_id @client_id end |