Class: Merge::Crm::AsyncClient

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Parameters:



205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'lib/merge_ruby_client/crm/client.rb', line 205

def initialize(request_client:)
  @account_details = Merge::Crm::AsyncAccountDetailsClient.new(request_client: request_client)
  @account_token = Merge::Crm::AsyncAccountTokenClient.new(request_client: request_client)
  @accounts = Merge::Crm::AsyncAccountsClient.new(request_client: request_client)
  @async_passthrough = Merge::Crm::AsyncAsyncPassthroughClient.new(request_client: request_client)
  @audit_trail = Merge::Crm::AsyncAuditTrailClient.new(request_client: request_client)
  @available_actions = Merge::Crm::AsyncAvailableActionsClient.new(request_client: request_client)
  @contacts = Merge::Crm::AsyncContactsClient.new(request_client: request_client)
  @custom_object_classes = Merge::Crm::AsyncCustomObjectClassesClient.new(request_client: request_client)
  @association_types = Merge::Crm::AsyncAssociationTypesClient.new(request_client: request_client)
  @custom_objects = Merge::Crm::AsyncCustomObjectsClient.new(request_client: request_client)
  @associations = Merge::Crm::AsyncAssociationsClient.new(request_client: request_client)
  @scopes = Merge::Crm::AsyncScopesClient.new(request_client: request_client)
  @delete_account = Merge::Crm::AsyncDeleteAccountClient.new(request_client: request_client)
  @engagement_types = Merge::Crm::AsyncEngagementTypesClient.new(request_client: request_client)
  @engagements = Merge::Crm::AsyncEngagementsClient.new(request_client: request_client)
  @field_mapping = Merge::Crm::AsyncFieldMappingClient.new(request_client: request_client)
  @generate_key = Merge::Crm::AsyncGenerateKeyClient.new(request_client: request_client)
  @issues = Merge::Crm::AsyncIssuesClient.new(request_client: request_client)
  @leads = Merge::Crm::AsyncLeadsClient.new(request_client: request_client)
  @link_token = Merge::Crm::AsyncLinkTokenClient.new(request_client: request_client)
  @linked_accounts = Merge::Crm::AsyncLinkedAccountsClient.new(request_client: request_client)
  @notes = Merge::Crm::AsyncNotesClient.new(request_client: request_client)
  @opportunities = Merge::Crm::AsyncOpportunitiesClient.new(request_client: request_client)
  @passthrough = Merge::Crm::AsyncPassthroughClient.new(request_client: request_client)
  @regenerate_key = Merge::Crm::AsyncRegenerateKeyClient.new(request_client: request_client)
  @stages = Merge::Crm::AsyncStagesClient.new(request_client: request_client)
  @sync_status = Merge::Crm::AsyncSyncStatusClient.new(request_client: request_client)
  @force_resync = Merge::Crm::AsyncForceResyncClient.new(request_client: request_client)
  @tasks = Merge::Crm::AsyncTasksClient.new(request_client: request_client)
  @users = Merge::Crm::AsyncUsersClient.new(request_client: request_client)
  @webhook_receivers = Merge::Crm::AsyncWebhookReceiversClient.new(request_client: request_client)
end

Instance Attribute Details

#account_detailsMerge::Crm::AsyncAccountDetailsClient (readonly)



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

def 
  @account_details
end

#account_tokenMerge::Crm::AsyncAccountTokenClient (readonly)



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

def 
  @account_token
end

#accountsMerge::Crm::AsyncAccountsClient (readonly)



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

def accounts
  @accounts
end

#association_typesMerge::Crm::AsyncAssociationTypesClient (readonly)



157
158
159
# File 'lib/merge_ruby_client/crm/client.rb', line 157

def association_types
  @association_types
end

#associationsMerge::Crm::AsyncAssociationsClient (readonly)



161
162
163
# File 'lib/merge_ruby_client/crm/client.rb', line 161

def associations
  @associations
end

#async_passthroughMerge::Crm::AsyncAsyncPassthroughClient (readonly)



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

def async_passthrough
  @async_passthrough
end

#audit_trailMerge::Crm::AsyncAuditTrailClient (readonly)



149
150
151
# File 'lib/merge_ruby_client/crm/client.rb', line 149

def audit_trail
  @audit_trail
end

#available_actionsMerge::Crm::AsyncAvailableActionsClient (readonly)



151
152
153
# File 'lib/merge_ruby_client/crm/client.rb', line 151

def available_actions
  @available_actions
end

#contactsMerge::Crm::AsyncContactsClient (readonly)



153
154
155
# File 'lib/merge_ruby_client/crm/client.rb', line 153

def contacts
  @contacts
end

#custom_object_classesMerge::Crm::AsyncCustomObjectClassesClient (readonly)



155
156
157
# File 'lib/merge_ruby_client/crm/client.rb', line 155

def custom_object_classes
  @custom_object_classes
end

#custom_objectsMerge::Crm::AsyncCustomObjectsClient (readonly)



159
160
161
# File 'lib/merge_ruby_client/crm/client.rb', line 159

def custom_objects
  @custom_objects
end

#delete_accountMerge::Crm::AsyncDeleteAccountClient (readonly)



165
166
167
# File 'lib/merge_ruby_client/crm/client.rb', line 165

def 
  @delete_account
end

#engagement_typesMerge::Crm::AsyncEngagementTypesClient (readonly)



167
168
169
# File 'lib/merge_ruby_client/crm/client.rb', line 167

def engagement_types
  @engagement_types
end

#engagementsMerge::Crm::AsyncEngagementsClient (readonly)



169
170
171
# File 'lib/merge_ruby_client/crm/client.rb', line 169

def engagements
  @engagements
end

#field_mappingMerge::Crm::AsyncFieldMappingClient (readonly)



171
172
173
# File 'lib/merge_ruby_client/crm/client.rb', line 171

def field_mapping
  @field_mapping
end

#force_resyncMerge::Crm::AsyncForceResyncClient (readonly)



195
196
197
# File 'lib/merge_ruby_client/crm/client.rb', line 195

def force_resync
  @force_resync
end

#generate_keyMerge::Crm::AsyncGenerateKeyClient (readonly)



173
174
175
# File 'lib/merge_ruby_client/crm/client.rb', line 173

def generate_key
  @generate_key
end

#issuesMerge::Crm::AsyncIssuesClient (readonly)



175
176
177
# File 'lib/merge_ruby_client/crm/client.rb', line 175

def issues
  @issues
end

#leadsMerge::Crm::AsyncLeadsClient (readonly)



177
178
179
# File 'lib/merge_ruby_client/crm/client.rb', line 177

def leads
  @leads
end


179
180
181
# File 'lib/merge_ruby_client/crm/client.rb', line 179

def link_token
  @link_token
end

#linked_accountsMerge::Crm::AsyncLinkedAccountsClient (readonly)



181
182
183
# File 'lib/merge_ruby_client/crm/client.rb', line 181

def linked_accounts
  @linked_accounts
end

#notesMerge::Crm::AsyncNotesClient (readonly)



183
184
185
# File 'lib/merge_ruby_client/crm/client.rb', line 183

def notes
  @notes
end

#opportunitiesMerge::Crm::AsyncOpportunitiesClient (readonly)



185
186
187
# File 'lib/merge_ruby_client/crm/client.rb', line 185

def opportunities
  @opportunities
end

#passthroughMerge::Crm::AsyncPassthroughClient (readonly)



187
188
189
# File 'lib/merge_ruby_client/crm/client.rb', line 187

def passthrough
  @passthrough
end

#regenerate_keyMerge::Crm::AsyncRegenerateKeyClient (readonly)



189
190
191
# File 'lib/merge_ruby_client/crm/client.rb', line 189

def regenerate_key
  @regenerate_key
end

#scopesMerge::Crm::AsyncScopesClient (readonly)



163
164
165
# File 'lib/merge_ruby_client/crm/client.rb', line 163

def scopes
  @scopes
end

#stagesMerge::Crm::AsyncStagesClient (readonly)



191
192
193
# File 'lib/merge_ruby_client/crm/client.rb', line 191

def stages
  @stages
end

#sync_statusMerge::Crm::AsyncSyncStatusClient (readonly)



193
194
195
# File 'lib/merge_ruby_client/crm/client.rb', line 193

def sync_status
  @sync_status
end

#tasksMerge::Crm::AsyncTasksClient (readonly)



197
198
199
# File 'lib/merge_ruby_client/crm/client.rb', line 197

def tasks
  @tasks
end

#usersMerge::Crm::AsyncUsersClient (readonly)



199
200
201
# File 'lib/merge_ruby_client/crm/client.rb', line 199

def users
  @users
end

#webhook_receiversMerge::Crm::AsyncWebhookReceiversClient (readonly)



201
202
203
# File 'lib/merge_ruby_client/crm/client.rb', line 201

def webhook_receivers
  @webhook_receivers
end