Class: Contentful::Management::SpacePeriodicUsage

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

Overview

Resource class for SpacePeriodicUsage.

See Also:

  • https://www.contentful.com/developers/docs/references/content-management-api/#/reference/usage/space-usage/get-space-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::SpacePeriodicUsage>

Gets all space periodic usages for a given organization.

Parameters:

Returns:



32
33
34
# File 'lib/contentful/management/space_periodic_usage.rb', line 32

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

.createObject

Not supported



47
48
49
# File 'lib/contentful/management/space_periodic_usage.rb', line 47

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

.findObject

Not supported



37
38
39
# File 'lib/contentful/management/space_periodic_usage.rb', line 37

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

Instance Method Details

#destroyObject

Not supported



52
53
54
# File 'lib/contentful/management/space_periodic_usage.rb', line 52

def destroy
  fail 'Not supported'
end

#updateObject

Not supported



57
58
59
# File 'lib/contentful/management/space_periodic_usage.rb', line 57

def update(*)
  fail 'Not supported'
end