zendesk_sell 0.1.2 → 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: 6c8359655611f572f5a0b26447dc10863169e65fc502813bcbdc888cf32d2408
4
- data.tar.gz: 7720cde84738c94a9e3f4b24346d31a96e0b968a04b86bd909b66735bdccab47
3
+ metadata.gz: c0f7644536641afea546f1f1262f21c8b089d1e34f3f49d191d654ef7c37842f
4
+ data.tar.gz: ee8ea6358b6db84dbbbabf091e31aa833633963ffa10771da21ec9639071c563
5
5
  SHA512:
6
- metadata.gz: 62db1912e03c87e3d28c55de8ecb8a4bbb2756231f362f3a320b4a37ed646b6f3cd933738cae79e1cf29695f4500c14e0ae1139c593591cd5a16ec0a07ed8730
7
- data.tar.gz: 524038ccad43ea1c9be4499788859a758cad0125a7a0f557bfcc65e703c8fa4c671e10423074791ba64336f4277ca5046207f0dda3199cefd9e961eeae247264
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.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zendesk_sell
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
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
@@ -45,6 +46,7 @@ metadata:
45
46
  homepage_uri: https://github.com/RTJ/zendesk_sell
46
47
  source_code_uri: https://github.com/RTJ/zendesk_sell
47
48
  changelog_uri: https://github.com/RTJ/zendesk_sell/CHANGELOG.md
49
+ post_install_message:
48
50
  rdoc_options: []
49
51
  require_paths:
50
52
  - lib
@@ -59,7 +61,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
61
  - !ruby/object:Gem::Version
60
62
  version: '0'
61
63
  requirements: []
62
- rubygems_version: 3.6.2
64
+ rubygems_version: 3.5.3
65
+ signing_key:
63
66
  specification_version: 4
64
67
  summary: A Ruby client for the Zendesk Sell (Sales CRM) API
65
68
  test_files: []