Module: Ketchup

Defined in:
lib/ketchup.rb

Overview

Ketchup Ruby API

See Also:

Author:

  • Pat Allan

Defined Under Namespace

Classes: API, AccessDenied, Item, ItemArray, Meeting, MeetingArray, Note, NoteArray, Profile, Project

Class Method Summary collapse

Class Method Details

.authenticate(email, password) ⇒ Ketchup::Profile

Creates a new profile authenticated against the Ketchup API. This is the recommended method to get access to an account’s meetings, notes and items.

Examples:

profile = Ketchup.authenticate '[email protected]', 'secret'

Parameters:

  • email (String)

    The user’s email address

  • password (String)

    The user’s passwords

Returns:

Raises:



23
24
25
# File 'lib/ketchup.rb', line 23

def self.authenticate(email, password)
  Ketchup::Profile.load(email, password)
end