postfixman 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/postfixman/api.rb +6 -6
- data/lib/postfixman/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbe73fd459015c416df7c3fc5f21d61f6d5171bc
|
4
|
+
data.tar.gz: 110bae9ff29e18f34d708ff5fbb33554105bd243
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81c5ba347c6fc2be578e1a9bff522bb71d173b62beba36f64c1a0196ad034cfb784d25415234c212bf51a664aa1be2ad0021cd03a8bc684bf47bc143a7311f5f
|
7
|
+
data.tar.gz: e0600ec4506381135ca252c803eadd77e0bbdbea5059300e94849c9709e072775c1b72e2067e37864eeb711357093c6b2166221c0062a2889d30ef0045e5370c
|
data/CHANGELOG.md
CHANGED
data/lib/postfixman/api.rb
CHANGED
@@ -56,12 +56,12 @@ module Postfixman
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def update_alias(alias_id, params)
|
59
|
-
request = web_request('PUT', "/aliases/#{
|
59
|
+
request = web_request('PUT', "/aliases/#{alias_id}", params, default_headers)
|
60
60
|
Postfixman::User.new(request[:body])
|
61
61
|
end
|
62
62
|
|
63
63
|
def delete_alias(alias_id)
|
64
|
-
request = web_request('DELETE', "/aliases/#{
|
64
|
+
request = web_request('DELETE', "/aliases/#{alias_id}", params, default_headers)
|
65
65
|
request[:body]['success'] == true
|
66
66
|
end
|
67
67
|
|
@@ -81,12 +81,12 @@ module Postfixman
|
|
81
81
|
end
|
82
82
|
|
83
83
|
def update_recipient_bccs(recipient_bcc_id, params)
|
84
|
-
request = web_request('PUT', "/recipient_bccs/#{
|
84
|
+
request = web_request('PUT', "/recipient_bccs/#{recipient_bcc_id}", params, default_headers)
|
85
85
|
Postfixman::User.new(request[:body])
|
86
86
|
end
|
87
87
|
|
88
88
|
def delete_recipient_bccs(recipient_bcc_id)
|
89
|
-
request = web_request('DELETE', "/recipient_bccs/#{
|
89
|
+
request = web_request('DELETE', "/recipient_bccs/#{recipient_bcc_id}", params, default_headers)
|
90
90
|
request[:body]['success'] == true
|
91
91
|
end
|
92
92
|
|
@@ -106,12 +106,12 @@ module Postfixman
|
|
106
106
|
end
|
107
107
|
|
108
108
|
def update_sender_bccs(sender_bcc_id)
|
109
|
-
request = web_request('PUT', "/sender_bccs/#{
|
109
|
+
request = web_request('PUT', "/sender_bccs/#{sender_bcc_id}", params, default_headers)
|
110
110
|
Postfixman::User.new(request[:body])
|
111
111
|
end
|
112
112
|
|
113
113
|
def delete_sender_bccs(sender_bcc_id)
|
114
|
-
request = web_request('DELETE', "/sender_bccs/#{
|
114
|
+
request = web_request('DELETE', "/sender_bccs/#{sender_bcc_id}", params, default_headers)
|
115
115
|
request[:body]['success'] == true
|
116
116
|
end
|
117
117
|
|
data/lib/postfixman/version.rb
CHANGED