Class: Merge::Crm::Client
- Inherits:
-
Object
- Object
- Merge::Crm::Client
- Defined in:
- lib/merge_ruby_client/crm/client.rb
Instance Attribute Summary collapse
- #account_details ⇒ Merge::Crm::AccountDetailsClient readonly
- #account_token ⇒ Merge::Crm::AccountTokenClient readonly
- #accounts ⇒ Merge::Crm::AccountsClient readonly
- #association_types ⇒ Merge::Crm::AssociationTypesClient readonly
- #associations ⇒ Merge::Crm::AssociationsClient readonly
- #async_passthrough ⇒ Merge::Crm::AsyncPassthroughClient readonly
- #audit_trail ⇒ Merge::Crm::AuditTrailClient readonly
- #available_actions ⇒ Merge::Crm::AvailableActionsClient readonly
- #contacts ⇒ Merge::Crm::ContactsClient readonly
- #custom_object_classes ⇒ Merge::Crm::CustomObjectClassesClient readonly
- #custom_objects ⇒ Merge::Crm::CustomObjectsClient readonly
- #delete_account ⇒ Merge::Crm::DeleteAccountClient readonly
- #engagement_types ⇒ Merge::Crm::EngagementTypesClient readonly
- #engagements ⇒ Merge::Crm::EngagementsClient readonly
- #field_mapping ⇒ Merge::Crm::FieldMappingClient readonly
- #force_resync ⇒ Merge::Crm::ForceResyncClient readonly
- #generate_key ⇒ Merge::Crm::GenerateKeyClient readonly
- #issues ⇒ Merge::Crm::IssuesClient readonly
- #leads ⇒ Merge::Crm::LeadsClient readonly
- #link_token ⇒ Merge::Crm::LinkTokenClient readonly
- #linked_accounts ⇒ Merge::Crm::LinkedAccountsClient readonly
- #notes ⇒ Merge::Crm::NotesClient readonly
- #opportunities ⇒ Merge::Crm::OpportunitiesClient readonly
- #passthrough ⇒ Merge::Crm::PassthroughClient readonly
- #regenerate_key ⇒ Merge::Crm::RegenerateKeyClient readonly
- #scopes ⇒ Merge::Crm::ScopesClient readonly
- #stages ⇒ Merge::Crm::StagesClient readonly
- #sync_status ⇒ Merge::Crm::SyncStatusClient readonly
- #tasks ⇒ Merge::Crm::TasksClient readonly
- #users ⇒ Merge::Crm::UsersClient readonly
- #webhook_receivers ⇒ Merge::Crm::WebhookReceiversClient readonly
Instance Method Summary collapse
Constructor Details
#initialize(request_client:) ⇒ Merge::Crm::Client
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_details ⇒ Merge::Crm::AccountDetailsClient (readonly)
40 41 42 |
# File 'lib/merge_ruby_client/crm/client.rb', line 40 def account_details @account_details end |
#account_token ⇒ Merge::Crm::AccountTokenClient (readonly)
42 43 44 |
# File 'lib/merge_ruby_client/crm/client.rb', line 42 def account_token @account_token end |
#accounts ⇒ Merge::Crm::AccountsClient (readonly)
44 45 46 |
# File 'lib/merge_ruby_client/crm/client.rb', line 44 def accounts @accounts end |
#association_types ⇒ Merge::Crm::AssociationTypesClient (readonly)
56 57 58 |
# File 'lib/merge_ruby_client/crm/client.rb', line 56 def association_types @association_types end |
#associations ⇒ Merge::Crm::AssociationsClient (readonly)
60 61 62 |
# File 'lib/merge_ruby_client/crm/client.rb', line 60 def associations @associations end |
#async_passthrough ⇒ Merge::Crm::AsyncPassthroughClient (readonly)
46 47 48 |
# File 'lib/merge_ruby_client/crm/client.rb', line 46 def async_passthrough @async_passthrough end |
#audit_trail ⇒ Merge::Crm::AuditTrailClient (readonly)
48 49 50 |
# File 'lib/merge_ruby_client/crm/client.rb', line 48 def audit_trail @audit_trail end |
#available_actions ⇒ Merge::Crm::AvailableActionsClient (readonly)
50 51 52 |
# File 'lib/merge_ruby_client/crm/client.rb', line 50 def available_actions @available_actions end |
#contacts ⇒ Merge::Crm::ContactsClient (readonly)
52 53 54 |
# File 'lib/merge_ruby_client/crm/client.rb', line 52 def contacts @contacts end |
#custom_object_classes ⇒ Merge::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_objects ⇒ Merge::Crm::CustomObjectsClient (readonly)
58 59 60 |
# File 'lib/merge_ruby_client/crm/client.rb', line 58 def custom_objects @custom_objects end |
#delete_account ⇒ Merge::Crm::DeleteAccountClient (readonly)
64 65 66 |
# File 'lib/merge_ruby_client/crm/client.rb', line 64 def delete_account @delete_account end |
#engagement_types ⇒ Merge::Crm::EngagementTypesClient (readonly)
66 67 68 |
# File 'lib/merge_ruby_client/crm/client.rb', line 66 def engagement_types @engagement_types end |
#engagements ⇒ Merge::Crm::EngagementsClient (readonly)
68 69 70 |
# File 'lib/merge_ruby_client/crm/client.rb', line 68 def engagements @engagements end |
#field_mapping ⇒ Merge::Crm::FieldMappingClient (readonly)
70 71 72 |
# File 'lib/merge_ruby_client/crm/client.rb', line 70 def field_mapping @field_mapping end |
#force_resync ⇒ Merge::Crm::ForceResyncClient (readonly)
94 95 96 |
# File 'lib/merge_ruby_client/crm/client.rb', line 94 def force_resync @force_resync end |
#generate_key ⇒ Merge::Crm::GenerateKeyClient (readonly)
72 73 74 |
# File 'lib/merge_ruby_client/crm/client.rb', line 72 def generate_key @generate_key end |
#issues ⇒ Merge::Crm::IssuesClient (readonly)
74 75 76 |
# File 'lib/merge_ruby_client/crm/client.rb', line 74 def issues @issues end |
#leads ⇒ Merge::Crm::LeadsClient (readonly)
76 77 78 |
# File 'lib/merge_ruby_client/crm/client.rb', line 76 def leads @leads end |
#link_token ⇒ Merge::Crm::LinkTokenClient (readonly)
78 79 80 |
# File 'lib/merge_ruby_client/crm/client.rb', line 78 def link_token @link_token end |
#linked_accounts ⇒ Merge::Crm::LinkedAccountsClient (readonly)
80 81 82 |
# File 'lib/merge_ruby_client/crm/client.rb', line 80 def linked_accounts @linked_accounts end |
#notes ⇒ Merge::Crm::NotesClient (readonly)
82 83 84 |
# File 'lib/merge_ruby_client/crm/client.rb', line 82 def notes @notes end |
#opportunities ⇒ Merge::Crm::OpportunitiesClient (readonly)
84 85 86 |
# File 'lib/merge_ruby_client/crm/client.rb', line 84 def opportunities @opportunities end |
#passthrough ⇒ Merge::Crm::PassthroughClient (readonly)
86 87 88 |
# File 'lib/merge_ruby_client/crm/client.rb', line 86 def passthrough @passthrough end |
#regenerate_key ⇒ Merge::Crm::RegenerateKeyClient (readonly)
88 89 90 |
# File 'lib/merge_ruby_client/crm/client.rb', line 88 def regenerate_key @regenerate_key end |
#scopes ⇒ Merge::Crm::ScopesClient (readonly)
62 63 64 |
# File 'lib/merge_ruby_client/crm/client.rb', line 62 def scopes @scopes end |
#stages ⇒ Merge::Crm::StagesClient (readonly)
90 91 92 |
# File 'lib/merge_ruby_client/crm/client.rb', line 90 def stages @stages end |
#sync_status ⇒ Merge::Crm::SyncStatusClient (readonly)
92 93 94 |
# File 'lib/merge_ruby_client/crm/client.rb', line 92 def sync_status @sync_status end |
#tasks ⇒ Merge::Crm::TasksClient (readonly)
96 97 98 |
# File 'lib/merge_ruby_client/crm/client.rb', line 96 def tasks @tasks end |
#users ⇒ Merge::Crm::UsersClient (readonly)
98 99 100 |
# File 'lib/merge_ruby_client/crm/client.rb', line 98 def users @users end |
#webhook_receivers ⇒ Merge::Crm::WebhookReceiversClient (readonly)
100 101 102 |
# File 'lib/merge_ruby_client/crm/client.rb', line 100 def webhook_receivers @webhook_receivers end |