Class: GdsApi::PublishingApiV2

Inherits:
PublishingApi show all
Defined in:
lib/gds_api/publishing_api_v2.rb

Overview

Adapter for the Publishing API.

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from PublishingApi

#destroy_intent, #discard_draft, #get_content, #get_content_items, #get_content_items_enum, #get_editions, #get_expanded_links, #get_linkables, #get_linked_items, #get_links, #get_links_changes, #get_links_for_content_ids, #get_live_content, #get_paged_editions, #import, #lookup_content_id, #lookup_content_ids, #patch_links, #publish, #put_content, #put_intent, #put_path, #republish, #unpublish, #unreserve_path

Methods inherited from Base

#client, #create_client, #get_list, #url_for_slug

Constructor Details

#initialize(*args) ⇒ PublishingApiV2

Returns a new instance of PublishingApiV2.



10
11
12
13
# File 'lib/gds_api/publishing_api_v2.rb', line 10

def initialize(*args)
  warn "GdsApi::PublishingApiV2 is deprecated.  Use GdsApi::PublishingApi instead."
  super
end