infopark_webcrm_sdk 2.2.0 → 2.3.0
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/lib/crm/mailing.rb +10 -0
- 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: d0bd367d2bae630503b972ac0134827452d8965d281ce1c711b2957f7674b677
|
4
|
+
data.tar.gz: 8b5f72122e7f51c204d207155da05bb0da61e241270650d8b19f635c751a6b2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7313adb5a09c25cc41dfc06bede26329131d135a751562c5bae08eeb76593635ad6d0b5479749fc6fe0442af1da1e8ec5a56c778ac06f5bd2b4a1bbf87b3ac69
|
7
|
+
data.tar.gz: e94342509b99ce8d5b484dc98038e37e0f1d71a947c72877f2eff83fe69861b73a8bb029de4619fc241c896d2aac8f0e426a1f2e1b7859413d69baf187d44d23
|
data/lib/crm/mailing.rb
CHANGED
@@ -19,6 +19,16 @@ module Crm
|
|
19
19
|
# @!parse extend Core::Mixins::Modifiable::ClassMethods
|
20
20
|
# @!parse extend Core::Mixins::Searchable::ClassMethods
|
21
21
|
|
22
|
+
# Clones a mailing.
|
23
|
+
# @example
|
24
|
+
# mailing.clone
|
25
|
+
# # => Crm::Mailing
|
26
|
+
# @return [BasicResource] the cloned mailing.
|
27
|
+
# @api public
|
28
|
+
def clone
|
29
|
+
self.class.new(Core::RestApi.instance.post("#{path}/clone", {}))
|
30
|
+
end
|
31
|
+
|
22
32
|
# Renders a preview of the email for the given contact.
|
23
33
|
# @example
|
24
34
|
# mailing.html_body
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infopark_webcrm_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Infopark AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|