postfixman 0.1.2 → 0.2.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/CHANGELOG.md +4 -0
- data/lib/postfixman/api.rb +4 -4
- data/lib/postfixman/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1a9dce291fee0d9e5215f6c29fe9713296c9f64e
|
|
4
|
+
data.tar.gz: 01dc3a125fdfa22ee54a263220faa0350baebf35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c10d6e7012792a5b247b75ee83e60e697b33c5b0ef0eb497c6a3dba124eea3487691631f276ef17abd5d24085d7bd212a69dc863407d68d6ef013e16919971c4
|
|
7
|
+
data.tar.gz: 523eaf85210edb2178c266519efb830ff7a5daeb4a431acab13fa71ee881582a5ce0ff9c39cacfa74b92300f58c12310de97bf696c54b6b5bb18aadf1f52aa4e
|
data/CHANGELOG.md
CHANGED
data/lib/postfixman/api.rb
CHANGED
|
@@ -36,7 +36,7 @@ module Postfixman
|
|
|
36
36
|
end
|
|
37
37
|
|
|
38
38
|
def delete_user(user_id)
|
|
39
|
-
request = web_request('DELETE', "/users/#{user_id}",
|
|
39
|
+
request = web_request('DELETE', "/users/#{user_id}", { }, default_headers)
|
|
40
40
|
request[:body]['success'] == true
|
|
41
41
|
end
|
|
42
42
|
|
|
@@ -61,7 +61,7 @@ module Postfixman
|
|
|
61
61
|
end
|
|
62
62
|
|
|
63
63
|
def delete_alias(alias_id)
|
|
64
|
-
request = web_request('DELETE', "/aliases/#{alias_id}",
|
|
64
|
+
request = web_request('DELETE', "/aliases/#{alias_id}", { }, default_headers)
|
|
65
65
|
request[:body]['success'] == true
|
|
66
66
|
end
|
|
67
67
|
|
|
@@ -86,7 +86,7 @@ module Postfixman
|
|
|
86
86
|
end
|
|
87
87
|
|
|
88
88
|
def delete_recipient_bccs(recipient_bcc_id)
|
|
89
|
-
request = web_request('DELETE', "/recipient_bccs/#{recipient_bcc_id}",
|
|
89
|
+
request = web_request('DELETE', "/recipient_bccs/#{recipient_bcc_id}", { }, default_headers)
|
|
90
90
|
request[:body]['success'] == true
|
|
91
91
|
end
|
|
92
92
|
|
|
@@ -111,7 +111,7 @@ module Postfixman
|
|
|
111
111
|
end
|
|
112
112
|
|
|
113
113
|
def delete_sender_bccs(sender_bcc_id)
|
|
114
|
-
request = web_request('DELETE', "/sender_bccs/#{sender_bcc_id}",
|
|
114
|
+
request = web_request('DELETE', "/sender_bccs/#{sender_bcc_id}", { }, default_headers)
|
|
115
115
|
request[:body]['success'] == true
|
|
116
116
|
end
|
|
117
117
|
|
data/lib/postfixman/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: postfixman
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matias Hick
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-03-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
91
91
|
version: '0'
|
|
92
92
|
requirements: []
|
|
93
93
|
rubyforge_project:
|
|
94
|
-
rubygems_version: 2.
|
|
94
|
+
rubygems_version: 2.4.5.2
|
|
95
95
|
signing_key:
|
|
96
96
|
specification_version: 4
|
|
97
97
|
summary: Access to Postfixman REST API
|