def authenticate!(username, password, get_record_token=false)
      auth = get 'viddler.users.auth', :user => username, :password => password, :get_record_token => (get_record_token ? 1 : 0)
      self.record_token = auth['auth']['record_token'] if get_record_token
      self.sessionid = auth['auth']['sessionid']
    end
def authenticate!(username, password, get_record_token=false)
      auth = get 'viddler.users.auth', :user => username, :password => password, :get_record_token => (get_record_token ? 1 : 0)
      self.record_token = auth['auth']['record_token'] if get_record_token
      self.sessionid = auth['auth']['sessionid']
    end
Public: Authenticate the client using a username and password. Any
   subsequent calls will be made using the session.

 username - The String Viddler username
 password - The String Viddler password

 Examples

   viddler.authenticate! 'username', 'password'

 Returns a String sessionid