Class: Merge::Ticketing::Client

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::Client

Parameters:



95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'lib/merge_ruby_client/ticketing/client.rb', line 95

def initialize(request_client:)
  @account_details = Merge::Ticketing::AccountDetailsClient.new(request_client: request_client)
  @account_token = Merge::Ticketing::AccountTokenClient.new(request_client: request_client)
  @accounts = Merge::Ticketing::AccountsClient.new(request_client: request_client)
  @async_passthrough = Merge::Ticketing::AsyncPassthroughClient.new(request_client: request_client)
  @attachments = Merge::Ticketing::AttachmentsClient.new(request_client: request_client)
  @audit_trail = Merge::Ticketing::AuditTrailClient.new(request_client: request_client)
  @available_actions = Merge::Ticketing::AvailableActionsClient.new(request_client: request_client)
  @collections = Merge::Ticketing::CollectionsClient.new(request_client: request_client)
  @comments = Merge::Ticketing::CommentsClient.new(request_client: request_client)
  @contacts = Merge::Ticketing::ContactsClient.new(request_client: request_client)
  @scopes = Merge::Ticketing::ScopesClient.new(request_client: request_client)
  @delete_account = Merge::Ticketing::DeleteAccountClient.new(request_client: request_client)
  @field_mapping = Merge::Ticketing::FieldMappingClient.new(request_client: request_client)
  @generate_key = Merge::Ticketing::GenerateKeyClient.new(request_client: request_client)
  @issues = Merge::Ticketing::IssuesClient.new(request_client: request_client)
  @link_token = Merge::Ticketing::LinkTokenClient.new(request_client: request_client)
  @linked_accounts = Merge::Ticketing::LinkedAccountsClient.new(request_client: request_client)
  @passthrough = Merge::Ticketing::PassthroughClient.new(request_client: request_client)
  @projects = Merge::Ticketing::ProjectsClient.new(request_client: request_client)
  @regenerate_key = Merge::Ticketing::RegenerateKeyClient.new(request_client: request_client)
  @roles = Merge::Ticketing::RolesClient.new(request_client: request_client)
  @sync_status = Merge::Ticketing::SyncStatusClient.new(request_client: request_client)
  @force_resync = Merge::Ticketing::ForceResyncClient.new(request_client: request_client)
  @tags = Merge::Ticketing::TagsClient.new(request_client: request_client)
  @teams = Merge::Ticketing::TeamsClient.new(request_client: request_client)
  @tickets = Merge::Ticketing::TicketsClient.new(request_client: request_client)
  @users = Merge::Ticketing::UsersClient.new(request_client: request_client)
  @webhook_receivers = Merge::Ticketing::WebhookReceiversClient.new(request_client: request_client)
end

Instance Attribute Details

#account_detailsMerge::Ticketing::AccountDetailsClient (readonly)



37
38
39
# File 'lib/merge_ruby_client/ticketing/client.rb', line 37

def 
  @account_details
end

#account_tokenMerge::Ticketing::AccountTokenClient (readonly)



39
40
41
# File 'lib/merge_ruby_client/ticketing/client.rb', line 39

def 
  @account_token
end

#accountsMerge::Ticketing::AccountsClient (readonly)



41
42
43
# File 'lib/merge_ruby_client/ticketing/client.rb', line 41

def accounts
  @accounts
end

#async_passthroughMerge::Ticketing::AsyncPassthroughClient (readonly)



43
44
45
# File 'lib/merge_ruby_client/ticketing/client.rb', line 43

def async_passthrough
  @async_passthrough
end

#attachmentsMerge::Ticketing::AttachmentsClient (readonly)



45
46
47
# File 'lib/merge_ruby_client/ticketing/client.rb', line 45

def attachments
  @attachments
end

#audit_trailMerge::Ticketing::AuditTrailClient (readonly)



47
48
49
# File 'lib/merge_ruby_client/ticketing/client.rb', line 47

def audit_trail
  @audit_trail
end

#available_actionsMerge::Ticketing::AvailableActionsClient (readonly)



49
50
51
# File 'lib/merge_ruby_client/ticketing/client.rb', line 49

def available_actions
  @available_actions
end

#collectionsMerge::Ticketing::CollectionsClient (readonly)



51
52
53
# File 'lib/merge_ruby_client/ticketing/client.rb', line 51

def collections
  @collections
end

#commentsMerge::Ticketing::CommentsClient (readonly)



53
54
55
# File 'lib/merge_ruby_client/ticketing/client.rb', line 53

def comments
  @comments
end

#contactsMerge::Ticketing::ContactsClient (readonly)



55
56
57
# File 'lib/merge_ruby_client/ticketing/client.rb', line 55

def contacts
  @contacts
end

#delete_accountMerge::Ticketing::DeleteAccountClient (readonly)



59
60
61
# File 'lib/merge_ruby_client/ticketing/client.rb', line 59

def 
  @delete_account
end

#field_mappingMerge::Ticketing::FieldMappingClient (readonly)



61
62
63
# File 'lib/merge_ruby_client/ticketing/client.rb', line 61

def field_mapping
  @field_mapping
end

#force_resyncMerge::Ticketing::ForceResyncClient (readonly)



81
82
83
# File 'lib/merge_ruby_client/ticketing/client.rb', line 81

def force_resync
  @force_resync
end

#generate_keyMerge::Ticketing::GenerateKeyClient (readonly)



63
64
65
# File 'lib/merge_ruby_client/ticketing/client.rb', line 63

def generate_key
  @generate_key
end

#issuesMerge::Ticketing::IssuesClient (readonly)



65
66
67
# File 'lib/merge_ruby_client/ticketing/client.rb', line 65

def issues
  @issues
end


67
68
69
# File 'lib/merge_ruby_client/ticketing/client.rb', line 67

def link_token
  @link_token
end

#linked_accountsMerge::Ticketing::LinkedAccountsClient (readonly)



69
70
71
# File 'lib/merge_ruby_client/ticketing/client.rb', line 69

def linked_accounts
  @linked_accounts
end

#passthroughMerge::Ticketing::PassthroughClient (readonly)



71
72
73
# File 'lib/merge_ruby_client/ticketing/client.rb', line 71

def passthrough
  @passthrough
end

#projectsMerge::Ticketing::ProjectsClient (readonly)



73
74
75
# File 'lib/merge_ruby_client/ticketing/client.rb', line 73

def projects
  @projects
end

#regenerate_keyMerge::Ticketing::RegenerateKeyClient (readonly)



75
76
77
# File 'lib/merge_ruby_client/ticketing/client.rb', line 75

def regenerate_key
  @regenerate_key
end

#rolesMerge::Ticketing::RolesClient (readonly)



77
78
79
# File 'lib/merge_ruby_client/ticketing/client.rb', line 77

def roles
  @roles
end

#scopesMerge::Ticketing::ScopesClient (readonly)



57
58
59
# File 'lib/merge_ruby_client/ticketing/client.rb', line 57

def scopes
  @scopes
end

#sync_statusMerge::Ticketing::SyncStatusClient (readonly)



79
80
81
# File 'lib/merge_ruby_client/ticketing/client.rb', line 79

def sync_status
  @sync_status
end

#tagsMerge::Ticketing::TagsClient (readonly)



83
84
85
# File 'lib/merge_ruby_client/ticketing/client.rb', line 83

def tags
  @tags
end

#teamsMerge::Ticketing::TeamsClient (readonly)



85
86
87
# File 'lib/merge_ruby_client/ticketing/client.rb', line 85

def teams
  @teams
end

#ticketsMerge::Ticketing::TicketsClient (readonly)



87
88
89
# File 'lib/merge_ruby_client/ticketing/client.rb', line 87

def tickets
  @tickets
end

#usersMerge::Ticketing::UsersClient (readonly)



89
90
91
# File 'lib/merge_ruby_client/ticketing/client.rb', line 89

def users
  @users
end

#webhook_receiversMerge::Ticketing::WebhookReceiversClient (readonly)



91
92
93
# File 'lib/merge_ruby_client/ticketing/client.rb', line 91

def webhook_receivers
  @webhook_receivers
end