class Contentful::Management::Organization
Resource
class for Organization
. @see _ www.contentful.com/developers/docs/references/content-management-api/#/reference/organizations
Public Class Methods
Source
# File lib/contentful/management/organization.rb, line 18 def self.build_endpoint(_endpoint_options) 'organizations' end
@private
Public Instance Methods
Source
# File lib/contentful/management/organization.rb, line 26 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::ClientOrganizationPeriodicUsageMethodsFactory]
Source
# File lib/contentful/management/organization.rb, line 34 def space_periodic_usages ClientSpacePeriodicUsageMethodsFactory.new(client, id) end
Allows listing all usage periods for organization grouped by organization or space. @see _ README for details.
@return [Contentful::Management::ClientSpacePeriodicUsageMethodsFactory]
Source
# File lib/contentful/management/organization.rb, line 43 def users OrganizationUserMethodsFactory.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]