Class: Merge::Crm::Client

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

Parameters:



104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# File 'lib/merge_ruby_client/crm/client.rb', line 104

def initialize(request_client:)
  @account_details = Merge::Crm::AccountDetailsClient.new(request_client: request_client)
  @account_token = Merge::Crm::AccountTokenClient.new(request_client: request_client)
  @accounts = Merge::Crm::AccountsClient.new(request_client: request_client)
  @async_passthrough = Merge::Crm::AsyncPassthroughClient.new(request_client: request_client)
  @audit_trail = Merge::Crm::AuditTrailClient.new(request_client: request_client)
  @available_actions = Merge::Crm::AvailableActionsClient.new(request_client: request_client)
  @contacts = Merge::Crm::ContactsClient.new(request_client: request_client)
  @custom_object_classes = Merge::Crm::CustomObjectClassesClient.new(request_client: request_client)
  @association_types = Merge::Crm::AssociationTypesClient.new(request_client: request_client)
  @custom_objects = Merge::Crm::CustomObjectsClient.new(request_client: request_client)
  @associations = Merge::Crm::AssociationsClient.new(request_client: request_client)
  @scopes = Merge::Crm::ScopesClient.new(request_client: request_client)
  @delete_account = Merge::Crm::DeleteAccountClient.new(request_client: request_client)
  @engagement_types = Merge::Crm::EngagementTypesClient.new(request_client: request_client)
  @engagements = Merge::Crm::EngagementsClient.new(request_client: request_client)
  @field_mapping = Merge::Crm::FieldMappingClient.new(request_client: request_client)
  @generate_key = Merge::Crm::GenerateKeyClient.new(request_client: request_client)
  @issues = Merge::Crm::IssuesClient.new(request_client: request_client)
  @leads = Merge::Crm::LeadsClient.new(request_client: request_client)
  @link_token = Merge::Crm::LinkTokenClient.new(request_client: request_client)
  @linked_accounts = Merge::Crm::LinkedAccountsClient.new(request_client: request_client)
  @notes = Merge::Crm::NotesClient.new(request_client: request_client)
  @opportunities = Merge::Crm::OpportunitiesClient.new(request_client: request_client)
  @passthrough = Merge::Crm::PassthroughClient.new(request_client: request_client)
  @regenerate_key = Merge::Crm::RegenerateKeyClient.new(request_client: request_client)
  @stages = Merge::Crm::StagesClient.new(request_client: request_client)
  @sync_status = Merge::Crm::SyncStatusClient.new(request_client: request_client)
  @force_resync = Merge::Crm::ForceResyncClient.new(request_client: request_client)
  @tasks = Merge::Crm::TasksClient.new(request_client: request_client)
  @users = Merge::Crm::UsersClient.new(request_client: request_client)
  @webhook_receivers = Merge::Crm::WebhookReceiversClient.new(request_client: request_client)
end

Instance Attribute Details

#account_detailsMerge::Crm::AccountDetailsClient (readonly)



40
41
42
# File 'lib/merge_ruby_client/crm/client.rb', line 40

def 
  @account_details
end

#account_tokenMerge::Crm::AccountTokenClient (readonly)



42
43
44
# File 'lib/merge_ruby_client/crm/client.rb', line 42

def 
  @account_token
end

#accountsMerge::Crm::AccountsClient (readonly)



44
45
46
# File 'lib/merge_ruby_client/crm/client.rb', line 44

def accounts
  @accounts
end

#association_typesMerge::Crm::AssociationTypesClient (readonly)



56
57
58
# File 'lib/merge_ruby_client/crm/client.rb', line 56

def association_types
  @association_types
end

#associationsMerge::Crm::AssociationsClient (readonly)



60
61
62
# File 'lib/merge_ruby_client/crm/client.rb', line 60

def associations
  @associations
end

#async_passthroughMerge::Crm::AsyncPassthroughClient (readonly)



46
47
48
# File 'lib/merge_ruby_client/crm/client.rb', line 46

def async_passthrough
  @async_passthrough
end

#audit_trailMerge::Crm::AuditTrailClient (readonly)



48
49
50
# File 'lib/merge_ruby_client/crm/client.rb', line 48

def audit_trail
  @audit_trail
end

#available_actionsMerge::Crm::AvailableActionsClient (readonly)



50
51
52
# File 'lib/merge_ruby_client/crm/client.rb', line 50

def available_actions
  @available_actions
end

#contactsMerge::Crm::ContactsClient (readonly)



52
53
54
# File 'lib/merge_ruby_client/crm/client.rb', line 52

def contacts
  @contacts
end

#custom_object_classesMerge::Crm::CustomObjectClassesClient (readonly)



54
55
56
# File 'lib/merge_ruby_client/crm/client.rb', line 54

def custom_object_classes
  @custom_object_classes
end

#custom_objectsMerge::Crm::CustomObjectsClient (readonly)



58
59
60
# File 'lib/merge_ruby_client/crm/client.rb', line 58

def custom_objects
  @custom_objects
end

#delete_accountMerge::Crm::DeleteAccountClient (readonly)



64
65
66
# File 'lib/merge_ruby_client/crm/client.rb', line 64

def 
  @delete_account
end

#engagement_typesMerge::Crm::EngagementTypesClient (readonly)



66
67
68
# File 'lib/merge_ruby_client/crm/client.rb', line 66

def engagement_types
  @engagement_types
end

#engagementsMerge::Crm::EngagementsClient (readonly)



68
69
70
# File 'lib/merge_ruby_client/crm/client.rb', line 68

def engagements
  @engagements
end

#field_mappingMerge::Crm::FieldMappingClient (readonly)



70
71
72
# File 'lib/merge_ruby_client/crm/client.rb', line 70

def field_mapping
  @field_mapping
end

#force_resyncMerge::Crm::ForceResyncClient (readonly)



94
95
96
# File 'lib/merge_ruby_client/crm/client.rb', line 94

def force_resync
  @force_resync
end

#generate_keyMerge::Crm::GenerateKeyClient (readonly)



72
73
74
# File 'lib/merge_ruby_client/crm/client.rb', line 72

def generate_key
  @generate_key
end

#issuesMerge::Crm::IssuesClient (readonly)



74
75
76
# File 'lib/merge_ruby_client/crm/client.rb', line 74

def issues
  @issues
end

#leadsMerge::Crm::LeadsClient (readonly)



76
77
78
# File 'lib/merge_ruby_client/crm/client.rb', line 76

def leads
  @leads
end


78
79
80
# File 'lib/merge_ruby_client/crm/client.rb', line 78

def link_token
  @link_token
end

#linked_accountsMerge::Crm::LinkedAccountsClient (readonly)



80
81
82
# File 'lib/merge_ruby_client/crm/client.rb', line 80

def linked_accounts
  @linked_accounts
end

#notesMerge::Crm::NotesClient (readonly)



82
83
84
# File 'lib/merge_ruby_client/crm/client.rb', line 82

def notes
  @notes
end

#opportunitiesMerge::Crm::OpportunitiesClient (readonly)



84
85
86
# File 'lib/merge_ruby_client/crm/client.rb', line 84

def opportunities
  @opportunities
end

#passthroughMerge::Crm::PassthroughClient (readonly)



86
87
88
# File 'lib/merge_ruby_client/crm/client.rb', line 86

def passthrough
  @passthrough
end

#regenerate_keyMerge::Crm::RegenerateKeyClient (readonly)



88
89
90
# File 'lib/merge_ruby_client/crm/client.rb', line 88

def regenerate_key
  @regenerate_key
end

#scopesMerge::Crm::ScopesClient (readonly)



62
63
64
# File 'lib/merge_ruby_client/crm/client.rb', line 62

def scopes
  @scopes
end

#stagesMerge::Crm::StagesClient (readonly)



90
91
92
# File 'lib/merge_ruby_client/crm/client.rb', line 90

def stages
  @stages
end

#sync_statusMerge::Crm::SyncStatusClient (readonly)



92
93
94
# File 'lib/merge_ruby_client/crm/client.rb', line 92

def sync_status
  @sync_status
end

#tasksMerge::Crm::TasksClient (readonly)



96
97
98
# File 'lib/merge_ruby_client/crm/client.rb', line 96

def tasks
  @tasks
end

#usersMerge::Crm::UsersClient (readonly)



98
99
100
# File 'lib/merge_ruby_client/crm/client.rb', line 98

def users
  @users
end

#webhook_receiversMerge::Crm::WebhookReceiversClient (readonly)



100
101
102
# File 'lib/merge_ruby_client/crm/client.rb', line 100

def webhook_receivers
  @webhook_receivers
end