pipedrive-connect 1.2.5 → 1.2.6
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/CHANGELOG.md +5 -0
- data/lib/pipedrive/resource.rb +1 -0
- data/lib/pipedrive/resources/deal.rb +7 -0
- data/lib/pipedrive/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e705f90cd87169ced3f60343e12dc37b327620287f432fafb67801057568fb3c
|
4
|
+
data.tar.gz: e424975763b80cb7d3af1f29ffd2f6625cd53dc5a752383419443e143e9ce81d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e0bd348c7478ceb95af39b0edfc33b7914a216bfe20d9ce51a799f64ff2642a193be605dbc2fd46d77a040ee3c9c6fb87653d5396453af5b708fa23030bd3dc
|
7
|
+
data.tar.gz: c627679cf39a5fdabc0901ced1664bdb6b551119db5805a477177d62bd176ea70b6bdc18ef1c375f9cbf2a9e92b42998d96e97b9ebcd21d9b457160874c5fe4a
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,11 @@ This file contains all notable changes to this project.
|
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
5
5
|
This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
|
6
6
|
|
7
|
+
## [1.2.6] - 2022-07-11
|
8
|
+
|
9
|
+
- Add `delete_attached_product` method to `Deal`
|
10
|
+
- Add metadata to `has_many` relations that store the returned _data_(API) without transformation, as it is.
|
11
|
+
|
7
12
|
## [1.2.5] - 2022-03-03
|
8
13
|
|
9
14
|
- Add `deals` to `Person`
|
data/lib/pipedrive/resource.rb
CHANGED
@@ -22,5 +22,12 @@ module Pipedrive
|
|
22
22
|
)
|
23
23
|
Product.new(response.dig(:data))
|
24
24
|
end
|
25
|
+
|
26
|
+
# DELETE /deals/:id/products/:product_attachment_id
|
27
|
+
# Detach a product from this deal
|
28
|
+
def delete_attached_product(product_attachment_id)
|
29
|
+
response = request(:delete, "#{resource_url}/products/#{product_attachment_id}")
|
30
|
+
response[:success]
|
31
|
+
end
|
25
32
|
end
|
26
33
|
end
|
data/lib/pipedrive/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pipedrive-connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Get on Board
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|