Sha256: 89bb71e546206da0b85ec12a8b401859ddb4e5644579fc24b390cc30bf12f54f
Contents?: true
Size: 544 Bytes
Versions: 2
Compression:
Stored size: 544 Bytes
Contents
# frozen_string_literal: true module Contentful module Management # Wrapper for Users API for usage from within Organization # @private class OrganizationUserMethodsFactory attr_reader :client def initialize(client, organization_id) @client = client @organization_id = organization_id end def find(id) User.find(client, nil, nil, id, @organization_id) end def all(params = {}) User.all(client, nil, nil, params, @organization_id) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
contentful-management-3.10.0 | lib/contentful/management/organization_user_methods_factory.rb |
contentful-management-3.9.0 | lib/contentful/management/organization_user_methods_factory.rb |