Class: OMCL::Account
- Inherits:
-
Object
- Object
- OMCL::Account
- Defined in:
- lib/omcl/dat.rb
Instance Attribute Summary collapse
-
#auth ⇒ Object
Returns the value of attribute auth.
-
#nick ⇒ Object
Returns the value of attribute nick.
-
#pass ⇒ Object
Returns the value of attribute pass.
-
#token ⇒ Object
Returns the value of attribute token.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(auth, user, pass = nil) ⇒ Account
constructor
A new instance of Account.
Constructor Details
#initialize(auth, user, pass = nil) ⇒ Account
Returns a new instance of Account.
5 6 7 8 9 |
# File 'lib/omcl/dat.rb', line 5 def initialize(auth, user, pass=nil) @auth = auth @user = user @pass = pass end |
Instance Attribute Details
#auth ⇒ Object
Returns the value of attribute auth.
3 4 5 |
# File 'lib/omcl/dat.rb', line 3 def auth @auth end |
#nick ⇒ Object
Returns the value of attribute nick.
3 4 5 |
# File 'lib/omcl/dat.rb', line 3 def nick @nick end |
#pass ⇒ Object
Returns the value of attribute pass.
3 4 5 |
# File 'lib/omcl/dat.rb', line 3 def pass @pass end |
#token ⇒ Object
Returns the value of attribute token.
3 4 5 |
# File 'lib/omcl/dat.rb', line 3 def token @token end |
#user ⇒ Object
Returns the value of attribute user.
3 4 5 |
# File 'lib/omcl/dat.rb', line 3 def user @user end |