Class: Vonage::Client

Inherits:
Object
  • Object
show all
Includes:
HTTParty, Authentication, Http, Rest
Defined in:
lib/vonage/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Rest

#click_to_call

Methods included from Http

#get, #parse_cookies

Methods included from Authentication

#authenticate, #authenticated?, #reauthenticate

Constructor Details

#initialize(login, password) ⇒ Client

Returns a new instance of Client.



16
17
18
19
20
21
# File 'lib/vonage/client.rb', line 16

def initialize , password
  @login = 
  @password = password

  @cookies = CookieHash.new
end

Instance Attribute Details

#cookiesObject

Returns the value of attribute cookies.



14
15
16
# File 'lib/vonage/client.rb', line 14

def cookies
  @cookies
end

#loginObject

Returns the value of attribute login.



14
15
16
# File 'lib/vonage/client.rb', line 14

def 
  @login
end

#passwordObject

Returns the value of attribute password.



14
15
16
# File 'lib/vonage/client.rb', line 14

def password
  @password
end