Class: Contentful::Management::Organization
- Inherits:
-
Object
- Object
- Contentful::Management::Organization
- Includes:
- Resource, Resource::Refresher, Resource::SystemProperties
- Defined in:
- lib/contentful/management/organization.rb
Overview
Resource class for Organization.
Instance Attribute Summary
Attributes included from Resource::SystemProperties
Attributes included from Resource
#client, #properties, #raw_object, #request
Instance Method Summary collapse
-
#api_usage ⇒ Contentful::Management::ClientApiUsageMethodsFactory
Allows listing all api usage for organization.
-
#usage_periods ⇒ Contentful::Management::ClientApiUsageMethodsFactory
Allows listing all usage periods for organization.
Methods included from Resource::Refresher
Methods included from Resource
#array?, #default_locale, #destroy, #environment_id, #fields, #nested_locale_fields?, #resource?, #save, #sys, #update
Instance Method Details
#api_usage ⇒ Contentful::Management::ClientApiUsageMethodsFactory
Allows listing all api usage for organization.
31 32 33 |
# File 'lib/contentful/management/organization.rb', line 31 def api_usage ClientApiUsageMethodsFactory.new(client, id) end |
#usage_periods ⇒ Contentful::Management::ClientApiUsageMethodsFactory
Allows listing all usage periods for organization.
23 24 25 |
# File 'lib/contentful/management/organization.rb', line 23 def usage_periods ClientApiUsageMethodsFactory.new(client, id) end |