Class: Contentful::Management::PreviewApiKey

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

Overview

Resource class for PreviewApiKey.

See Also:

  • https://www.contentful.com/developers/docs/references/content-management-api/#/reference/api-keys/preview-api-key/get-a-single-preview-api-key

Instance Attribute Summary

Attributes included from Resource::SystemProperties

#sys

Attributes included from Resource

#client, #properties, #raw_object, #request

Class Method Summary collapse

Methods included from Resource::Refresher

#reload

Methods included from Resource

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

Class Method Details

.find(client, space_id, preview_api_key_id) ⇒ Contentful::Management::PreviewApiKey

Finds a Preview API Key by ID.

Parameters:

Returns:



26
27
28
# File 'lib/contentful/management/preview_api_key.rb', line 26

def self.find(client, space_id, preview_api_key_id)
  super(client, space_id, nil, preview_api_key_id)
end