Class: LJ::Client
- Inherits:
-
Object
- Object
- LJ::Client
- Defined in:
- lib/lj/client.rb
Instance Attribute Summary collapse
-
#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, options = {}) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(username, password, options = {}) ⇒ Client
Returns a new instance of Client.
7 8 9 |
# File 'lib/lj/client.rb', line 7 def initialize(username, password, ={}) @username, @password = usernames end |
Instance Attribute Details
#password ⇒ Object (readonly)
Returns the value of attribute password.
5 6 7 |
# File 'lib/lj/client.rb', line 5 def password @password end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
5 6 7 |
# File 'lib/lj/client.rb', line 5 def username @username end |