ruby-swift 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -2
  3. data/lib/ruby-swift.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bcfefd7de34d0ee73b023d387e2fa6572ae1d56d
4
- data.tar.gz: 6ba1002f1770ee1219147e6f7e029778e490460d
3
+ metadata.gz: f9763c433b5390e105cadd94a07ae1f5121d3415
4
+ data.tar.gz: 98c3c712a7c6fbcaecda90bde0a5a07e8ce68bd2
5
5
  SHA512:
6
- metadata.gz: 06981968173bb370b5280fc40b28dd530565ce67607ed05476e1d8cd08c7c53adca491ee65751f1d5aa0175ae6ae6ab31c9716f06ea50d65637b87f5b4d04c53
7
- data.tar.gz: 76cb3ab38a76efa4acbe03165dc4c69727a59c4fa0eeec2591bef5e301ad57a7b725cfde92f16882cdae70f926dc17772a18c68e227fa8b876b9565a932abd88
6
+ metadata.gz: c807eda03dbbf0415aa298277b89cc8aafc212c8c023ce7c875ba81554eb7af19be93f2f8b35c54840852fe86d2c673f19aa3daa863c52ca12df742d63fde1c3
7
+ data.tar.gz: 3a31448950c5b2279b7a38fc40b29d5ad7bcd08bedfaa9584b012a895d42aa58a122ed212c7e606868da35c29aaf9317ec2870d997cc8cf25637b972882effa0
data/README.md CHANGED
@@ -5,6 +5,8 @@ A ruby wrapper of the [Swift Digital Suite Mail House API](https://suite.swiftdi
5
5
 
6
6
  This is currently a relatively crude wrapper and does not tidy responses from Swift a lot. Contributions are welcome.
7
7
 
8
+ *Version 1.0.0 introduced breaking changes on the way the wrapper returns responses.*
9
+
8
10
  INSTALLATION
9
11
  ------------
10
12
  You can install the library via Rubygems:
@@ -23,12 +25,14 @@ USAGE
23
25
  swift = RubySwift.new("API_PASSWORD")
24
26
  ```
25
27
 
26
- Does a person exist?
28
+ ## Helpers:
27
29
 
28
30
  ```ruby
29
- swift.person_exists?("you@example.com") # -> {:status => 0, :response => true}
31
+ swift.person_exists?("you@example.com") # -> true
30
32
  ```
31
33
 
34
+ ## API methods:
35
+
32
36
  Read a person:
33
37
 
34
38
  ```ruby
@@ -62,7 +62,7 @@ class RubySwift
62
62
  end
63
63
 
64
64
  def remove_person(email)
65
- return_response(soap_request("remove_person", {group_name: group_name}))
65
+ return_response(soap_request("remove_person", {email: email}))
66
66
  end
67
67
 
68
68
  def update_person(old_email, fields)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-swift
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Buntine
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-03 00:00:00.000000000 Z
12
+ date: 2015-09-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.4.6
57
+ rubygems_version: 2.4.8
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: A ruby wrapper of the Swift Digital Suite API.