Class: Merge::Filestorage::AsyncClient

Inherits:
Object
  • Object
show all
Defined in:
lib/merge_ruby_client/filestorage/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request_client:) ⇒ Merge::Filestorage::AsyncClient

Parameters:



151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'lib/merge_ruby_client/filestorage/client.rb', line 151

def initialize(request_client:)
  @account_details = Merge::Filestorage::AsyncAccountDetailsClient.new(request_client: request_client)
  @account_token = Merge::Filestorage::AsyncAccountTokenClient.new(request_client: request_client)
  @async_passthrough = Merge::Filestorage::AsyncAsyncPassthroughClient.new(request_client: request_client)
  @audit_trail = Merge::Filestorage::AsyncAuditTrailClient.new(request_client: request_client)
  @available_actions = Merge::Filestorage::AsyncAvailableActionsClient.new(request_client: request_client)
  @scopes = Merge::Filestorage::AsyncScopesClient.new(request_client: request_client)
  @delete_account = Merge::Filestorage::AsyncDeleteAccountClient.new(request_client: request_client)
  @drives = Merge::Filestorage::AsyncDrivesClient.new(request_client: request_client)
  @field_mapping = Merge::Filestorage::AsyncFieldMappingClient.new(request_client: request_client)
  @files = Merge::Filestorage::AsyncFilesClient.new(request_client: request_client)
  @folders = Merge::Filestorage::AsyncFoldersClient.new(request_client: request_client)
  @generate_key = Merge::Filestorage::AsyncGenerateKeyClient.new(request_client: request_client)
  @groups = Merge::Filestorage::AsyncGroupsClient.new(request_client: request_client)
  @issues = Merge::Filestorage::AsyncIssuesClient.new(request_client: request_client)
  @link_token = Merge::Filestorage::AsyncLinkTokenClient.new(request_client: request_client)
  @linked_accounts = Merge::Filestorage::AsyncLinkedAccountsClient.new(request_client: request_client)
  @passthrough = Merge::Filestorage::AsyncPassthroughClient.new(request_client: request_client)
  @regenerate_key = Merge::Filestorage::AsyncRegenerateKeyClient.new(request_client: request_client)
  @sync_status = Merge::Filestorage::AsyncSyncStatusClient.new(request_client: request_client)
  @force_resync = Merge::Filestorage::AsyncForceResyncClient.new(request_client: request_client)
  @users = Merge::Filestorage::AsyncUsersClient.new(request_client: request_client)
  @webhook_receivers = Merge::Filestorage::AsyncWebhookReceiversClient.new(request_client: request_client)
end

Instance Attribute Details

#account_detailsMerge::Filestorage::AsyncAccountDetailsClient (readonly)



105
106
107
# File 'lib/merge_ruby_client/filestorage/client.rb', line 105

def 
  @account_details
end

#account_tokenMerge::Filestorage::AsyncAccountTokenClient (readonly)



107
108
109
# File 'lib/merge_ruby_client/filestorage/client.rb', line 107

def 
  @account_token
end

#async_passthroughMerge::Filestorage::AsyncAsyncPassthroughClient (readonly)



109
110
111
# File 'lib/merge_ruby_client/filestorage/client.rb', line 109

def async_passthrough
  @async_passthrough
end

#audit_trailMerge::Filestorage::AsyncAuditTrailClient (readonly)



111
112
113
# File 'lib/merge_ruby_client/filestorage/client.rb', line 111

def audit_trail
  @audit_trail
end

#available_actionsMerge::Filestorage::AsyncAvailableActionsClient (readonly)



113
114
115
# File 'lib/merge_ruby_client/filestorage/client.rb', line 113

def available_actions
  @available_actions
end

#delete_accountMerge::Filestorage::AsyncDeleteAccountClient (readonly)



117
118
119
# File 'lib/merge_ruby_client/filestorage/client.rb', line 117

def 
  @delete_account
end

#drivesMerge::Filestorage::AsyncDrivesClient (readonly)



119
120
121
# File 'lib/merge_ruby_client/filestorage/client.rb', line 119

def drives
  @drives
end

#field_mappingMerge::Filestorage::AsyncFieldMappingClient (readonly)



121
122
123
# File 'lib/merge_ruby_client/filestorage/client.rb', line 121

def field_mapping
  @field_mapping
end

#filesMerge::Filestorage::AsyncFilesClient (readonly)



123
124
125
# File 'lib/merge_ruby_client/filestorage/client.rb', line 123

def files
  @files
end

#foldersMerge::Filestorage::AsyncFoldersClient (readonly)



125
126
127
# File 'lib/merge_ruby_client/filestorage/client.rb', line 125

def folders
  @folders
end

#force_resyncMerge::Filestorage::AsyncForceResyncClient (readonly)



143
144
145
# File 'lib/merge_ruby_client/filestorage/client.rb', line 143

def force_resync
  @force_resync
end

#generate_keyMerge::Filestorage::AsyncGenerateKeyClient (readonly)



127
128
129
# File 'lib/merge_ruby_client/filestorage/client.rb', line 127

def generate_key
  @generate_key
end

#groupsMerge::Filestorage::AsyncGroupsClient (readonly)



129
130
131
# File 'lib/merge_ruby_client/filestorage/client.rb', line 129

def groups
  @groups
end

#issuesMerge::Filestorage::AsyncIssuesClient (readonly)



131
132
133
# File 'lib/merge_ruby_client/filestorage/client.rb', line 131

def issues
  @issues
end


133
134
135
# File 'lib/merge_ruby_client/filestorage/client.rb', line 133

def link_token
  @link_token
end

#linked_accountsMerge::Filestorage::AsyncLinkedAccountsClient (readonly)



135
136
137
# File 'lib/merge_ruby_client/filestorage/client.rb', line 135

def linked_accounts
  @linked_accounts
end

#passthroughMerge::Filestorage::AsyncPassthroughClient (readonly)



137
138
139
# File 'lib/merge_ruby_client/filestorage/client.rb', line 137

def passthrough
  @passthrough
end

#regenerate_keyMerge::Filestorage::AsyncRegenerateKeyClient (readonly)



139
140
141
# File 'lib/merge_ruby_client/filestorage/client.rb', line 139

def regenerate_key
  @regenerate_key
end

#scopesMerge::Filestorage::AsyncScopesClient (readonly)



115
116
117
# File 'lib/merge_ruby_client/filestorage/client.rb', line 115

def scopes
  @scopes
end

#sync_statusMerge::Filestorage::AsyncSyncStatusClient (readonly)



141
142
143
# File 'lib/merge_ruby_client/filestorage/client.rb', line 141

def sync_status
  @sync_status
end

#usersMerge::Filestorage::AsyncUsersClient (readonly)



145
146
147
# File 'lib/merge_ruby_client/filestorage/client.rb', line 145

def users
  @users
end

#webhook_receiversMerge::Filestorage::AsyncWebhookReceiversClient (readonly)



147
148
149
# File 'lib/merge_ruby_client/filestorage/client.rb', line 147

def webhook_receivers
  @webhook_receivers
end