Module: Checkdin::PointAccountEntries

Included in:
Client
Defined in:
lib/checkdin/point_account_entries.rb

Instance Method Summary collapse

Instance Method Details

#point_account_entries(options = {}) ⇒ Object

Get a list of point account entries.

Parameters:

  • options (Hash) (defaults to: {})

Options Hash (options):

  • Integer (Object)

    :user_id - Return entries only for this user

  • Integer (Object)

    :campaign_id - Return entries only for this campaign

  • Integer (Object)

    :point_account_id - Return entries only for this point account.

  • Integer (Object)

    :limit - The maximum number of records to return.



12
13
14
15
16
17
# File 'lib/checkdin/point_account_entries.rb', line 12

def (options={})
  response = connection.get do |req|
    req.url "point_account_entries", options
  end
  return_error_or_body(response)
end