class Contentful::Management::OrganizationUserMethodsFactory

Wrapper for Users API for usage from within Organization @private

Attributes

client[R]

Public Class Methods

new(client, organization_id) click to toggle source
# File lib/contentful/management/organization_user_methods_factory.rb, line 10
def initialize(client, organization_id)
  @client = client
  @organization_id = organization_id
end

Public Instance Methods

all(params = {}) click to toggle source
# File lib/contentful/management/organization_user_methods_factory.rb, line 19
def all(params = {})
  User.all(client, nil, nil, params, @organization_id)
end
find(id) click to toggle source
# File lib/contentful/management/organization_user_methods_factory.rb, line 15
def find(id)
  User.find(client, nil, nil, id, @organization_id)
end