Sha256: f5fc8cfd8f221208ae209e9dc379644918f06a69065bdd48e4e211ec7a55c980

Contents?: true

Size: 414 Bytes

Versions: 3

Compression:

Stored size: 414 Bytes

Contents

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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
contentful-management-3.0.0 lib/contentful/management/organization_user_methods_factory.rb
contentful-management-2.13.1 lib/contentful/management/organization_user_methods_factory.rb
contentful-management-2.13.0 lib/contentful/management/organization_user_methods_factory.rb