Class: Contentful::Management::OrganizationPeriodicUsage

Inherits:
Object
  • Object
show all
Includes:
Resource, Resource::Refresher, Resource::SystemProperties
Defined in:
lib/contentful/management/organization_periodic_usage.rb

Overview

Resource class for OrganizationPeriodicUsage.

See Also:

  • https://www.contentful.com/developers/docs/references/content-management-api/#/reference/usage/organization-usage/get-organization-usage/console/curl

Instance Attribute Summary

Attributes included from Resource::SystemProperties

#sys

Attributes included from Resource

#client, #properties, #raw_object, #request

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Resource::Refresher

#reload

Methods included from Resource

#array?, #default_locale, #environment_id, #fields, #nested_locale_fields?, #resource?, #save, #sys

Class Method Details

.all(client, organization_id, params = {}) ⇒ Contentful::Management::Array<Contentful::Management::OrganizationPeriodicUsage>

Gets all organization periodic usages for a given organization.

Parameters:

Returns:



34
35
36
# File 'lib/contentful/management/organization_periodic_usage.rb', line 34

def self.all(client, organization_id, params = {})
  ClientOrganizationPeriodicUsageMethodsFactory.new(client, organization_id).all(params)
end

.createObject

Not supported



49
50
51
# File 'lib/contentful/management/organization_periodic_usage.rb', line 49

def self.create(*)
  fail 'Not supported'
end

.findObject

Not supported



39
40
41
# File 'lib/contentful/management/organization_periodic_usage.rb', line 39

def self.find(*)
  fail 'Not supported'
end

Instance Method Details

#destroyObject

Not supported



54
55
56
# File 'lib/contentful/management/organization_periodic_usage.rb', line 54

def destroy
  fail 'Not supported'
end

#updateObject

Not supported



59
60
61
# File 'lib/contentful/management/organization_periodic_usage.rb', line 59

def update(*)
  fail 'Not supported'
end