zendesk_sell 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65770f9447275ebe858b49fc9b0301fe368a81b76b14ae290d869988b717ab92
4
- data.tar.gz: 7fc85e55b84bd9424c46244e054ba85441e44988b18cb19ea1e8ab1ce47ddb05
3
+ metadata.gz: c0f7644536641afea546f1f1262f21c8b089d1e34f3f49d191d654ef7c37842f
4
+ data.tar.gz: ee8ea6358b6db84dbbbabf091e31aa833633963ffa10771da21ec9639071c563
5
5
  SHA512:
6
- metadata.gz: 5a39575e77f3cd46ba99862a3a4682a50c0b2541dcba3259e5ec8fb413db3afa2ec2ad544e8d84157801229f22207d53f749470cb68766d7ffbcc712cd8939b0
7
- data.tar.gz: 3cee89cd91cb326a4a5beb4d2bf6a4295eeb56803be98d508adb64171b19d4b68ee618b4006ddb584234a9b6670dcad6a094247d9545c5d27951809bb0d2dd08
6
+ metadata.gz: d898fb302de7535644f5ccba1ec5168f4164af1bdea515d79b054cd7d30606da2bdd99117aba78515f519978cb0c11ada9f7135450bfd1ad09b619be787d4253
7
+ data.tar.gz: aef8b918d8bdf1000dbae0a1558abc250f70bb98409338e05f4f3ca7ee4c8f5aa240147d96f3fa2fba6a404b7bb3dcefe2d8b03f984da1f089641ef9a04346e7
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # Zendesk Sell
2
2
 
3
- **Zendesk Sell** is a Ruby client for the [Zendesk Sell (Sales CRM) API](https://developer.zendesk.com/api-reference/sales-crm/resources/introduction/). This gem provides a robust and modular interface to interact with Zendesk Sell’s resources—such as leads, deals, contacts, companies, tasks, and users—using Faraday for HTTP requests. It supports full CRUD operations and follows best practices for a clean and extensible codebase.
4
-
3
+ **Zendesk Sell** is a Ruby client for the [Zendesk Sell (Sales CRM) API](https://developer.zendesk.com/api-reference/sales-crm/resources/introduction/). This gem provides a robust and modular interface to interact with Zendesk Sell’s resources—such as leads, deals, contacts, companies, tasks, and users—using Faraday for HTTP requests.
5
4
  ## Installation
6
5
 
7
6
  Add this line to your application's Gemfile:
@@ -96,9 +95,10 @@ puts "Contact Details: #{contact}"
96
95
 
97
96
  ```ruby
98
97
  new_lead_attributes = {
99
- name: "John Doe",
100
- email: "john.doe@example.com",
101
- phone: "+123456789"
98
+ first_name: "Alice",
99
+ last_name: "Smith",
100
+ email: "alice.smith@example.com",
101
+ phone: "+11234567890"
102
102
  }
103
103
  created_lead = client.leads.create(new_lead_attributes)
104
104
  puts "Created Lead: #{created_lead}"
@@ -18,7 +18,7 @@ module ZendeskSell
18
18
  # Create a new resource.
19
19
  # The payload structure follows the Zendesk Sell API's expected format.
20
20
  def create(attributes = {})
21
- payload = { data: { type: resource_type, attributes: attributes } }
21
+ payload = { data: attributes }
22
22
  @client.request(:post, endpoint, payload: payload)
23
23
  end
24
24
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ZendeskSell
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.3"
5
5
  end
data/zendesk_sell.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ["eugeniu.rtj@gmail.com"]
10
10
 
11
11
  spec.summary = "A Ruby client for the Zendesk Sell (Sales CRM) API"
12
- spec.description = "The zendesk_sell gem provides a robust and modular Ruby interface for interacting with the Zendesk Sell API. It supports full CRUD operations on resources such as leads, deals, contacts, companies, tasks, and users using the Faraday HTTP client."
12
+ spec.description = "The zendesk_sell gem provides a robust and modular Ruby interface for interacting with the Zendesk Sell API. It supports full CRUD operations on resources such as leads, deals, contacts, companies, tasks, and users"
13
13
  spec.homepage = "https://github.com/RTJ/zendesk_sell"
14
14
  spec.license = "MIT"
15
15
  spec.required_ruby_version = ">= 2.6.0"
metadata CHANGED
@@ -1,18 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zendesk_sell
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugeniu Tambur
8
+ autorequire:
8
9
  bindir: exe
9
10
  cert_chain: []
10
- date: 2025-02-18 00:00:00.000000000 Z
11
+ date: 2025-02-26 00:00:00.000000000 Z
11
12
  dependencies: []
12
13
  description: The zendesk_sell gem provides a robust and modular Ruby interface for
13
14
  interacting with the Zendesk Sell API. It supports full CRUD operations on resources
14
- such as leads, deals, contacts, companies, tasks, and users using the Faraday HTTP
15
- client.
15
+ such as leads, deals, contacts, companies, tasks, and users
16
16
  email:
17
17
  - eugeniu.rtj@gmail.com
18
18
  executables: []
@@ -46,6 +46,7 @@ metadata:
46
46
  homepage_uri: https://github.com/RTJ/zendesk_sell
47
47
  source_code_uri: https://github.com/RTJ/zendesk_sell
48
48
  changelog_uri: https://github.com/RTJ/zendesk_sell/CHANGELOG.md
49
+ post_install_message:
49
50
  rdoc_options: []
50
51
  require_paths:
51
52
  - lib
@@ -60,7 +61,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
61
  - !ruby/object:Gem::Version
61
62
  version: '0'
62
63
  requirements: []
63
- rubygems_version: 3.6.2
64
+ rubygems_version: 3.5.3
65
+ signing_key:
64
66
  specification_version: 4
65
67
  summary: A Ruby client for the Zendesk Sell (Sales CRM) API
66
68
  test_files: []