lib/contacts/google.rb
# Fetches, parses and returns the contact list.
#
# ==== Options
# * <tt>:limit</tt> -- use a large number to fetch a bigger contact list (default: 200)
# * <tt>:offset</tt> -- 0-based value, can be used for pagination
# * <tt>:order</tt> -- currently the only value support by Google is "lastmodified"
# * <tt>:descending</tt> -- boolean
# * <tt>:updated_after</tt> -- string or time-like object, use to only fetch contacts
#   that were updated after this date
Fetches, parses and returns the contact list.
Fetches parses and returns the contact list .
def contacts(options = {})
      params = { :limit => 200 }.update(options)
      response = get(params)
      parse_contacts response_body(response)
    end
def contacts ( options = { } ) params = { :limit => 200 } . update ( options ) response = get ( params ) parse_contacts response_body ( response ) end
Fetches, parses and returns the contact list.
Fetches parses and returns the contact list .
options
<not_specific>