Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

merge_crm_client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

merge_crm_client

  • 1.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

merge_crm_client

MergeCRMClient - the Ruby gem for the Merge CRM API

The unified API for building rich integrations with multiple CRM platforms.

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.0
  • Package version: 1.0.1
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit https://www.merge.dev/

Installation

Build a gem

To build the Ruby code into a gem:

gem build merge_crm_client.gemspec

Then either install the gem locally:

gem install ./merge_crm_client-1.0.1.gem

(for development, run gem install --dev ./merge_crm_client-1.0.1.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'merge_crm_client', '~> 1.0.1'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/merge-api/merge-crm-ruby, then add the following in the Gemfile:

gem 'merge_crm_client', :git => 'https://github.com/merge-api/merge-crm-ruby.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'merge_crm_client'

# Setup authorization
MergeCRMClient.configure do |config|
  # Configure API key authorization: tokenAuth
  config.api_key['tokenAuth'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  # config.api_key_prefix['tokenAuth'] = 'Bearer'
end

api_instance = MergeCRMClient::AccountDetailsApi.new
x_account_token = 'x_account_token_example' # String | Token identifying the end user.

begin
  result = api_instance.account_details_retrieve(x_account_token)
  p result
rescue MergeCRMClient::ApiError => e
  puts "Exception when calling AccountDetailsApi->account_details_retrieve: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api.merge.dev/api/crm/v1

ClassMethodHTTP requestDescription
MergeCRMClient::AccountDetailsApiaccount_details_retrieveGET /account-details
MergeCRMClient::AccountTokenApiaccount_token_retrieveGET /account-token/{public_token}
MergeCRMClient::AccountsApiaccounts_createPOST /accounts
MergeCRMClient::AccountsApiaccounts_listGET /accounts
MergeCRMClient::AccountsApiaccounts_meta_post_retrieveGET /accounts/meta/post
MergeCRMClient::AccountsApiaccounts_retrieveGET /accounts/{id}
MergeCRMClient::AvailableActionsApiavailable_actions_retrieveGET /available-actions
MergeCRMClient::ContactsApicontacts_createPOST /contacts
MergeCRMClient::ContactsApicontacts_listGET /contacts
MergeCRMClient::ContactsApicontacts_meta_post_retrieveGET /contacts/meta/post
MergeCRMClient::ContactsApicontacts_retrieveGET /contacts/{id}
MergeCRMClient::DeleteAccountApidelete_account_createPOST /delete-account
MergeCRMClient::EngagementTypesApiengagement_types_listGET /engagement-types
MergeCRMClient::EngagementTypesApiengagement_types_retrieveGET /engagement-types/{id}
MergeCRMClient::EngagementsApiengagements_createPOST /engagements
MergeCRMClient::EngagementsApiengagements_listGET /engagements
MergeCRMClient::EngagementsApiengagements_meta_post_retrieveGET /engagements/meta/post
MergeCRMClient::EngagementsApiengagements_retrieveGET /engagements/{id}
MergeCRMClient::ForceResyncApisync_status_resync_createPOST /sync-status/resync
MergeCRMClient::GenerateKeyApigenerate_key_createPOST /generate-key
MergeCRMClient::IssuesApiissues_listGET /issues
MergeCRMClient::IssuesApiissues_retrieveGET /issues/{id}
MergeCRMClient::LeadsApileads_createPOST /leads
MergeCRMClient::LeadsApileads_listGET /leads
MergeCRMClient::LeadsApileads_meta_post_retrieveGET /leads/meta/post
MergeCRMClient::LeadsApileads_retrieveGET /leads/{id}
MergeCRMClient::LinkTokenApilink_token_createPOST /link-token
MergeCRMClient::LinkedAccountsApilinked_accounts_listGET /linked-accounts
MergeCRMClient::NotesApinotes_createPOST /notes
MergeCRMClient::NotesApinotes_listGET /notes
MergeCRMClient::NotesApinotes_meta_post_retrieveGET /notes/meta/post
MergeCRMClient::NotesApinotes_retrieveGET /notes/{id}
MergeCRMClient::OpportunitiesApiopportunities_createPOST /opportunities
MergeCRMClient::OpportunitiesApiopportunities_listGET /opportunities
MergeCRMClient::OpportunitiesApiopportunities_meta_patch_retrieveGET /opportunities/meta/patch/{id}
MergeCRMClient::OpportunitiesApiopportunities_meta_post_retrieveGET /opportunities/meta/post
MergeCRMClient::OpportunitiesApiopportunities_partial_updatePATCH /opportunities/{id}
MergeCRMClient::OpportunitiesApiopportunities_retrieveGET /opportunities/{id}
MergeCRMClient::PassthroughApipassthrough_createPOST /passthrough
MergeCRMClient::RegenerateKeyApiregenerate_key_createPOST /regenerate-key
MergeCRMClient::StagesApistages_listGET /stages
MergeCRMClient::StagesApistages_retrieveGET /stages/{id}
MergeCRMClient::SyncStatusApisync_status_listGET /sync-status
MergeCRMClient::TasksApitasks_listGET /tasks
MergeCRMClient::TasksApitasks_retrieveGET /tasks/{id}
MergeCRMClient::UsersApiusers_listGET /users
MergeCRMClient::UsersApiusers_retrieveGET /users/{id}
MergeCRMClient::WebhookReceiversApiwebhook_receivers_createPOST /webhook-receivers
MergeCRMClient::WebhookReceiversApiwebhook_receivers_listGET /webhook-receivers

Documentation for Models

Documentation for Authorization

tokenAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

FAQs

Package last updated on 26 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc