Sha256: 76fbaf8e8468b418463e0efd2646033721c24eba1f255b1da60267cf3e14740a

Contents?: true

Size: 621 Bytes

Versions: 7

Compression:

Stored size: 621 Bytes

Contents

# ## People
#
# Provides access to people resource
#
# #### Get all people on the account
# `GET /people.json`
#
#     client.people!
#
# #### Get a person
# `GET /people/123.json`
#
#     client.people!(123)
#
# #### Get the current person
# `GET /people/me.json`
#
#     client.people.me!
#
# #### Get assigned todos for a person
# `GET /people/1/assigned_todos.json`
#
#     client.people(1).assigned_todos
#
# #### Delete a person
# `DELETE /people/123.json`
#
#     client.people(123).delete!
#
module Bcx
  module Resources
    class Person < Rapidash::Base
      url :people
      collection :me
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bcx-1.1.0 lib/bcx/resources/person.rb
bcx-1.0.0 lib/bcx/resources/person.rb
bcx-0.4.0 lib/bcx/resources/person.rb
bcx-0.3.0 lib/bcx/resources/person.rb
bcx-0.2.1 lib/bcx/resources/person.rb
bcx-0.2.0 lib/bcx/resources/person.rb
bcx-0.1.1 lib/bcx/resources/person.rb