Class: ExetelSms::Config
- Inherits:
-
Object
- Object
- ExetelSms::Config
- Defined in:
- lib/config.rb
Instance Attribute Summary collapse
-
#mvn ⇒ Object
readonly
Returns the value of attribute mvn.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username, password, mvn = nil) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(username, password, mvn = nil) ⇒ Config
Returns a new instance of Config.
7 8 9 10 11 |
# File 'lib/config.rb', line 7 def initialize(username, password, mvn=nil) @username = username @password = password @mvn = mvn end |
Instance Attribute Details
#mvn ⇒ Object (readonly)
Returns the value of attribute mvn.
5 6 7 |
# File 'lib/config.rb', line 5 def mvn @mvn end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
5 6 7 |
# File 'lib/config.rb', line 5 def password @password end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
5 6 7 |
# File 'lib/config.rb', line 5 def username @username end |