Sha256: 69e3f7968dcfd2bb5dfa1ab7d55ec462a964c8a31be7bed2c88e3bac65dcc8e2
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 KB
Contents
require_relative 'resource' 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 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
contentful-management-2.12.1 | lib/contentful/management/organization.rb |
contentful-management-2.12.0 | lib/contentful/management/organization.rb |