Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
bcx / lib / bcx / resources / person.rb
Size: Mime:
# ## 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