class Contentful::Management::SpaceUserMethodsFactory

Wrapper for User API for usage from within Space @private

Attributes

space[R]

Public Class Methods

new(space) click to toggle source
# File lib/contentful/management/space_user_methods_factory.rb, line 12
def initialize(space)
  @space = space
end

Public Instance Methods

all(params = {}) click to toggle source
# File lib/contentful/management/space_user_methods_factory.rb, line 20
def all(params = {})
  User.all(space.client, space.id, nil, params, nil)
end
find(id) click to toggle source
# File lib/contentful/management/space_user_methods_factory.rb, line 16
def find(id)
  User.find(space.client, space.id, nil, id)
end