• Jump To … +
    bcx.rb http.rb oauth.rb configuration.rb oauth.rb access.rb authorization.rb comment.rb person.rb project.rb todo.rb todolist.rb response_error.rb version.rb
  • person.rb

  • ¶

    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