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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0761242226c7a009220ba1b1f7f5510e4549465c
4
- data.tar.gz: 5da88ae0c079cf3e7cd06ad694e11d599750a30e
3
+ metadata.gz: 067482a879f7af281db3f53988a0595665dea658
4
+ data.tar.gz: 1bf7045b497d4b74ee60b85f14c8139dbc8734de
5
5
  SHA512:
6
- metadata.gz: 6f8baac4566faa4b74317dc75d7bd9139b864af1f99cea7a8e5958ff207c4f998b07de0f06866a2779f1774446ef3d3b461f3b324893820587836ed7a6a7ecc6
7
- data.tar.gz: 6640ca3ca033a94d6428eb160c7f68c705654ea550e4a922d72c65abe57c6876daec9f35a310dc0396935ee49e474d5cc1f7b2db27a474d31d13d1181ef0657e
6
+ metadata.gz: 8928a8a8858455f45358303db337749c9d4a32c865ffa84d72a809729bcac1194c783a720ff39d6dc82ee095a9bec92c6896b129745f35b59cc0ad59a25bdbc0
7
+ data.tar.gz: 40776ddd4d7a5f738d0cf57e04eda271d2748799ea8dc2fe54dcf884a7a2b27ac69bcd22d7d931117c670e63034c6d9ae5b0dea1cb3df52d2dbb46f2a58e5a2e
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Sailthru
2
- VERSION = '4.0.6'
2
+ VERSION = '4.0.7'
3
3
  end
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.6
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: 2015-12-14 00:00:00.000000000 Z
13
+ date: 2016-02-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json