Sha256: 71b3ee083d10b501b76e4706f82fb7dd5b26a2ae618e3f4faa3f338830836f85

Contents?: true

Size: 550 Bytes

Versions: 6

Compression:

Stored size: 550 Bytes

Contents

module Voog
  class API

    # Voog People API methods.
    #
    # @see http://www.voog.com/developers/api/resources/people
    module People

      # List people
      #
      # @see http://www.voog.com/developers/api/resources/people#get_people
      def people(params = {})
        paginate 'people', {query: params}
      end

      # Get a single person
      #
      # @see http://www.voog.com/developers/api/resources/people#get_person
      def person(id, params = {})
        get "people/#{id}", {query: params}
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voog_api-0.0.16 lib/voog_api/api/people.rb
voog_api-0.0.15 lib/voog_api/api/people.rb
voog_api-0.0.14 lib/voog_api/api/people.rb
voog_api-0.0.13 lib/voog_api/api/people.rb
voog_api-0.0.12 lib/voog_api/api/people.rb
voog_api-0.0.11 lib/voog_api/api/people.rb