Class: HubSpotSDK::Resources::Files

Inherits:
Object
  • Object
show all
Defined in:
lib/hubspot_sdk/resources/files.rb,
lib/hubspot_sdk/resources/files/folders.rb,
lib/hubspot_sdk/resources/files/file_assets.rb

Defined Under Namespace

Classes: FileAssets, Folders

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Files

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

Parameters:



15
16
17
18
19
# File 'lib/hubspot_sdk/resources/files.rb', line 15

def initialize(client:)
  @client = client
  @file_assets = HubSpotSDK::Resources::Files::FileAssets.new(client: client)
  @folders = HubSpotSDK::Resources::Files::Folders.new(client: client)
end

Instance Attribute Details

#file_assetsHubSpotSDK::Resources::Files::FileAssets (readonly)



7
8
9
# File 'lib/hubspot_sdk/resources/files.rb', line 7

def file_assets
  @file_assets
end

#foldersHubSpotSDK::Resources::Files::Folders (readonly)



10
11
12
# File 'lib/hubspot_sdk/resources/files.rb', line 10

def folders
  @folders
end