sailthru-client 4.0.6 → 4.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sailthru/client.rb +8 -0
- data/lib/sailthru/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 067482a879f7af281db3f53988a0595665dea658
|
4
|
+
data.tar.gz: 1bf7045b497d4b74ee60b85f14c8139dbc8734de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8928a8a8858455f45358303db337749c9d4a32c865ffa84d72a809729bcac1194c783a720ff39d6dc82ee095a9bec92c6896b129745f35b59cc0ad59a25bdbc0
|
7
|
+
data.tar.gz: 40776ddd4d7a5f738d0cf57e04eda271d2748799ea8dc2fe54dcf884a7a2b27ac69bcd22d7d931117c670e63034c6d9ae5b0dea1cb3df52d2dbb46f2a58e5a2e
|
data/lib/sailthru/client.rb
CHANGED
@@ -234,6 +234,14 @@ module Sailthru
|
|
234
234
|
data[:change_email] = old_email
|
235
235
|
api_post(:email, data)
|
236
236
|
end
|
237
|
+
|
238
|
+
# returns:
|
239
|
+
# Hash of response data.
|
240
|
+
#
|
241
|
+
# Get all templates
|
242
|
+
def get_templates(templates = {})
|
243
|
+
api_get(:template, templates)
|
244
|
+
end
|
237
245
|
|
238
246
|
# params:
|
239
247
|
# template_name, String
|
data/lib/sailthru/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sailthru-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Prajwal Tuladhar
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2016-02-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|