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 +4 -4
- data/README.md +5 -5
- data/lib/zendesk_sell/resources/base_resource.rb +1 -1
- data/lib/zendesk_sell/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0f7644536641afea546f1f1262f21c8b089d1e34f3f49d191d654ef7c37842f
|
4
|
+
data.tar.gz: ee8ea6358b6db84dbbbabf091e31aa833633963ffa10771da21ec9639071c563
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
-
|
100
|
-
|
101
|
-
|
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:
|
21
|
+
payload = { data: attributes }
|
22
22
|
@client.request(:post, endpoint, payload: payload)
|
23
23
|
end
|
24
24
|
|
data/lib/zendesk_sell/version.rb
CHANGED
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.
|
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-
|
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.
|
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: []
|