Class: HubSpotSDK::Resources::Cms::Blogs

Inherits:
Object
  • Object
show all
Defined in:
lib/hubspot_sdk/resources/cms/blogs.rb,
lib/hubspot_sdk/resources/cms/blogs/tags.rb,
lib/hubspot_sdk/resources/cms/blogs/posts.rb,
lib/hubspot_sdk/resources/cms/blogs/authors.rb,
lib/hubspot_sdk/resources/cms/blogs/settings.rb,
lib/hubspot_sdk/resources/cms/blogs/tags/batch.rb,
lib/hubspot_sdk/resources/cms/blogs/posts/batch.rb,
lib/hubspot_sdk/resources/cms/blogs/authors/batch.rb,
lib/hubspot_sdk/resources/cms/blogs/posts/revisions.rb,
lib/hubspot_sdk/resources/cms/blogs/posts/multi_language.rb,
lib/hubspot_sdk/resources/cms/blogs/settings/multi_language.rb

Defined Under Namespace

Classes: Authors, Posts, Settings, Tags

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Blogs

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Blogs.

Parameters:



22
23
24
25
26
27
28
# File 'lib/hubspot_sdk/resources/cms/blogs.rb', line 22

def initialize(client:)
  @client = client
  @authors = HubSpotSDK::Resources::Cms::Blogs::Authors.new(client: client)
  @posts = HubSpotSDK::Resources::Cms::Blogs::Posts.new(client: client)
  @settings = HubSpotSDK::Resources::Cms::Blogs::Settings.new(client: client)
  @tags = HubSpotSDK::Resources::Cms::Blogs::Tags.new(client: client)
end

Instance Attribute Details

#authorsHubSpotSDK::Resources::Cms::Blogs::Authors (readonly)



8
9
10
# File 'lib/hubspot_sdk/resources/cms/blogs.rb', line 8

def authors
  @authors
end

#postsHubSpotSDK::Resources::Cms::Blogs::Posts (readonly)



11
12
13
# File 'lib/hubspot_sdk/resources/cms/blogs.rb', line 11

def posts
  @posts
end

#settingsHubSpotSDK::Resources::Cms::Blogs::Settings (readonly)



14
15
16
# File 'lib/hubspot_sdk/resources/cms/blogs.rb', line 14

def settings
  @settings
end

#tagsHubSpotSDK::Resources::Cms::Blogs::Tags (readonly)



17
18
19
# File 'lib/hubspot_sdk/resources/cms/blogs.rb', line 17

def tags
  @tags
end