Class: HubSpotSDK::Resources::Cms::Hubdb

Inherits:
Object
  • Object
show all
Defined in:
lib/hubspot_sdk/resources/cms/hubdb.rb,
lib/hubspot_sdk/resources/cms/hubdb/rows.rb,
lib/hubspot_sdk/resources/cms/hubdb/tables.rb

Defined Under Namespace

Classes: Rows, Tables

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Hubdb

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 Hubdb.

Parameters:



16
17
18
19
20
# File 'lib/hubspot_sdk/resources/cms/hubdb.rb', line 16

def initialize(client:)
  @client = client
  @rows = HubSpotSDK::Resources::Cms::Hubdb::Rows.new(client: client)
  @tables = HubSpotSDK::Resources::Cms::Hubdb::Tables.new(client: client)
end

Instance Attribute Details

#rowsHubSpotSDK::Resources::Cms::Hubdb::Rows (readonly)



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

def rows
  @rows
end

#tablesHubSpotSDK::Resources::Cms::Hubdb::Tables (readonly)



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

def tables
  @tables
end