Class: Merge::Ticketing::AsyncClient

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Parameters:



187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'lib/merge_ruby_client/ticketing/client.rb', line 187

def initialize(request_client:)
  @account_details = Merge::Ticketing::AsyncAccountDetailsClient.new(request_client: request_client)
  @account_token = Merge::Ticketing::AsyncAccountTokenClient.new(request_client: request_client)
  @accounts = Merge::Ticketing::AsyncAccountsClient.new(request_client: request_client)
  @async_passthrough = Merge::Ticketing::AsyncAsyncPassthroughClient.new(request_client: request_client)
  @attachments = Merge::Ticketing::AsyncAttachmentsClient.new(request_client: request_client)
  @audit_trail = Merge::Ticketing::AsyncAuditTrailClient.new(request_client: request_client)
  @available_actions = Merge::Ticketing::AsyncAvailableActionsClient.new(request_client: request_client)
  @collections = Merge::Ticketing::AsyncCollectionsClient.new(request_client: request_client)
  @comments = Merge::Ticketing::AsyncCommentsClient.new(request_client: request_client)
  @contacts = Merge::Ticketing::AsyncContactsClient.new(request_client: request_client)
  @scopes = Merge::Ticketing::AsyncScopesClient.new(request_client: request_client)
  @delete_account = Merge::Ticketing::AsyncDeleteAccountClient.new(request_client: request_client)
  @field_mapping = Merge::Ticketing::AsyncFieldMappingClient.new(request_client: request_client)
  @generate_key = Merge::Ticketing::AsyncGenerateKeyClient.new(request_client: request_client)
  @issues = Merge::Ticketing::AsyncIssuesClient.new(request_client: request_client)
  @link_token = Merge::Ticketing::AsyncLinkTokenClient.new(request_client: request_client)
  @linked_accounts = Merge::Ticketing::AsyncLinkedAccountsClient.new(request_client: request_client)
  @passthrough = Merge::Ticketing::AsyncPassthroughClient.new(request_client: request_client)
  @projects = Merge::Ticketing::AsyncProjectsClient.new(request_client: request_client)
  @regenerate_key = Merge::Ticketing::AsyncRegenerateKeyClient.new(request_client: request_client)
  @roles = Merge::Ticketing::AsyncRolesClient.new(request_client: request_client)
  @sync_status = Merge::Ticketing::AsyncSyncStatusClient.new(request_client: request_client)
  @force_resync = Merge::Ticketing::AsyncForceResyncClient.new(request_client: request_client)
  @tags = Merge::Ticketing::AsyncTagsClient.new(request_client: request_client)
  @teams = Merge::Ticketing::AsyncTeamsClient.new(request_client: request_client)
  @tickets = Merge::Ticketing::AsyncTicketsClient.new(request_client: request_client)
  @users = Merge::Ticketing::AsyncUsersClient.new(request_client: request_client)
  @webhook_receivers = Merge::Ticketing::AsyncWebhookReceiversClient.new(request_client: request_client)
end

Instance Attribute Details

#account_detailsMerge::Ticketing::AsyncAccountDetailsClient (readonly)



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

def 
  @account_details
end

#account_tokenMerge::Ticketing::AsyncAccountTokenClient (readonly)



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

def 
  @account_token
end

#accountsMerge::Ticketing::AsyncAccountsClient (readonly)



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

def accounts
  @accounts
end

#async_passthroughMerge::Ticketing::AsyncAsyncPassthroughClient (readonly)



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

def async_passthrough
  @async_passthrough
end

#attachmentsMerge::Ticketing::AsyncAttachmentsClient (readonly)



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

def attachments
  @attachments
end

#audit_trailMerge::Ticketing::AsyncAuditTrailClient (readonly)



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

def audit_trail
  @audit_trail
end

#available_actionsMerge::Ticketing::AsyncAvailableActionsClient (readonly)



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

def available_actions
  @available_actions
end

#collectionsMerge::Ticketing::AsyncCollectionsClient (readonly)



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

def collections
  @collections
end

#commentsMerge::Ticketing::AsyncCommentsClient (readonly)



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

def comments
  @comments
end

#contactsMerge::Ticketing::AsyncContactsClient (readonly)



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

def contacts
  @contacts
end

#delete_accountMerge::Ticketing::AsyncDeleteAccountClient (readonly)



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

def 
  @delete_account
end

#field_mappingMerge::Ticketing::AsyncFieldMappingClient (readonly)



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

def field_mapping
  @field_mapping
end

#force_resyncMerge::Ticketing::AsyncForceResyncClient (readonly)



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

def force_resync
  @force_resync
end

#generate_keyMerge::Ticketing::AsyncGenerateKeyClient (readonly)



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

def generate_key
  @generate_key
end

#issuesMerge::Ticketing::AsyncIssuesClient (readonly)



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

def issues
  @issues
end


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

def link_token
  @link_token
end

#linked_accountsMerge::Ticketing::AsyncLinkedAccountsClient (readonly)



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

def linked_accounts
  @linked_accounts
end

#passthroughMerge::Ticketing::AsyncPassthroughClient (readonly)



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

def passthrough
  @passthrough
end

#projectsMerge::Ticketing::AsyncProjectsClient (readonly)



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

def projects
  @projects
end

#regenerate_keyMerge::Ticketing::AsyncRegenerateKeyClient (readonly)



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

def regenerate_key
  @regenerate_key
end

#rolesMerge::Ticketing::AsyncRolesClient (readonly)



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

def roles
  @roles
end

#scopesMerge::Ticketing::AsyncScopesClient (readonly)



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

def scopes
  @scopes
end

#sync_statusMerge::Ticketing::AsyncSyncStatusClient (readonly)



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

def sync_status
  @sync_status
end

#tagsMerge::Ticketing::AsyncTagsClient (readonly)



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

def tags
  @tags
end

#teamsMerge::Ticketing::AsyncTeamsClient (readonly)



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

def teams
  @teams
end

#ticketsMerge::Ticketing::AsyncTicketsClient (readonly)



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

def tickets
  @tickets
end

#usersMerge::Ticketing::AsyncUsersClient (readonly)



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

def users
  @users
end

#webhook_receiversMerge::Ticketing::AsyncWebhookReceiversClient (readonly)



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

def webhook_receivers
  @webhook_receivers
end