Class: GnipTools::Client
- Inherits:
-
Object
- Object
- GnipTools::Client
- Includes:
- API
- Defined in:
- lib/gnip-tools/client.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username, password) ⇒ Client
constructor
A new instance of Client.
Methods included from Search
Constructor Details
#initialize(username, password) ⇒ Client
Returns a new instance of Client.
9 10 11 12 |
# File 'lib/gnip-tools/client.rb', line 9 def initialize(username, password) @username = username @password = password end |
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
7 8 9 |
# File 'lib/gnip-tools/client.rb', line 7 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
7 8 9 |
# File 'lib/gnip-tools/client.rb', line 7 def username @username end |