Sha256: 329bf5e667557e8d2139f5e66e69c11e88695afd7d57b5b0731789ca863350e5

Contents?: true

Size: 634 Bytes

Versions: 1

Compression:

Stored size: 634 Bytes

Contents

# `Bcx::Resources::Person`
# 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

1 entries across 1 versions & 1 rubygems

Version Path
bcx-0.1.0 lib/bcx/resources/person.rb