Class: GnipTools::Client

Inherits:
Object
  • Object
show all
Includes:
API
Defined in:
lib/gnip-tools/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Search

#search_30_day

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

#passwordObject

Returns the value of attribute password.



7
8
9
# File 'lib/gnip-tools/client.rb', line 7

def password
  @password
end

#usernameObject

Returns the value of attribute username.



7
8
9
# File 'lib/gnip-tools/client.rb', line 7

def username
  @username
end