Class: Vinapi::Requestor

Inherits:
Object
  • Object
show all
Defined in:
lib/vinapi/requestor.rb

Instance Method Summary collapse

Instance Method Details

#login(username, password) ⇒ Object



4
5
6
7
8
# File 'lib/vinapi/requestor.rb', line 4

def  username, password

  return RestClient.post 'https://api.vineapp.com/users/authenticate', {username: username, password: password}
  
end