Sha256: 3818cc6ec094a0f5d9b13a598cf97322daa5fc0309f72b5e4e947d175e126389
Contents?: true
Size: 1.57 KB
Versions: 11
Compression:
Stored size: 1.57 KB
Contents
require_relative 'resource' require 'contentful/management/organization_user_methods_factory' module Contentful module Management # Resource class for Organization. # @see _ https://www.contentful.com/developers/docs/references/content-management-api/#/reference/organizations class Organization include Contentful::Management::Resource include Contentful::Management::Resource::Refresher include Contentful::Management::Resource::SystemProperties property :name # @private def self.build_endpoint(_endpoint_options) 'organizations' end # Allows listing all usage periods for organization grouped by organization or space. # @see _ README for details. # # @return [Contentful::Management::ClientOrganizationPeriodicUsageMethodsFactory] def periodic_usages ClientOrganizationPeriodicUsageMethodsFactory.new(client, id) end # Allows listing all usage periods for organization grouped by organization or space. # @see _ README for details. # # @return [Contentful::Management::ClientSpacePeriodicUsageMethodsFactory] def space_periodic_usages ClientSpacePeriodicUsageMethodsFactory.new(client, id) end # Allows viewing of users in context of an organization # Allows listing all users for an organization, and finding one by ID. # @see _ README for details. # # @return [Contentful::Management::OrganizationUserMethodsFactory] def users OrganizationUserMethodsFactory.new(client, id) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems