Class: Contentful::Management::Tag
- Inherits:
-
Object
- Object
- Contentful::Management::Tag
- Defined in:
- lib/contentful/management/tag.rb
Overview
Resource Class for Tags www.contentful.com/developers/docs/references/content-management-api/#/reference/content-tags
Instance Attribute Summary
Attributes included from Resource::SystemProperties
Attributes included from Resource
#client, #properties, #raw_object, #request
Instance Method Summary collapse
Methods included from Resource::EnvironmentAware
Methods included from Resource::Refresher
Methods included from Resource
#array?, #default_locale, #environment_id, #fields, #nested_locale_fields?, #resource?, #save, #sys, #update
Instance Method Details
#destroy ⇒ Object
32 33 34 35 36 37 38 39 40 |
# File 'lib/contentful/management/tag.rb', line 32 def destroy ResourceRequester.new(client, self.class).destroy( { space_id: space.id, environment_id: environment_id, resource_id: id }, {}, version: sys[:version] ) end |