postfixman 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- 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: 5897e35165e82c8c28ea6926c552a72ea940e7dd
|
4
|
+
data.tar.gz: 1a7b5254ca9c9beaf97b46c18ccc93222677f7e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ae906dcd4eef440529754db7e6a0c96f93649934679a91c1501af60f320625f367ce0e6a4aea946c9421f6114692cf267380c4229ed2f2230e4014ad88c1d07
|
7
|
+
data.tar.gz: c021055f76ea26544fff46f12efed463489d413e7b643aba93165c0cc34a01d117e515607908de6cde590d0a1f073c29c29d4a3fb50d453d5ffa1958706a7307
|
data/CHANGELOG.md
CHANGED
data/lib/postfixman/api.rb
CHANGED
@@ -52,12 +52,12 @@ module Postfixman
|
|
52
52
|
|
53
53
|
def create_alias(params)
|
54
54
|
request = web_request('POST', '/aliases', params, default_headers)
|
55
|
-
Postfixman::
|
55
|
+
Postfixman::Alias.new(request[:body])
|
56
56
|
end
|
57
57
|
|
58
58
|
def update_alias(alias_id, params)
|
59
59
|
request = web_request('PUT', "/aliases/#{alias_id}", params, default_headers)
|
60
|
-
Postfixman::
|
60
|
+
Postfixman::Alias.new(request[:body])
|
61
61
|
end
|
62
62
|
|
63
63
|
def delete_alias(alias_id)
|
@@ -77,12 +77,12 @@ module Postfixman
|
|
77
77
|
|
78
78
|
def create_recipient_bccs(params)
|
79
79
|
request = web_request('POST', '/recipient_bccs', params, default_headers)
|
80
|
-
Postfixman::
|
80
|
+
Postfixman::RecipientBcc.new(request[:body])
|
81
81
|
end
|
82
82
|
|
83
83
|
def update_recipient_bccs(recipient_bcc_id, params)
|
84
84
|
request = web_request('PUT', "/recipient_bccs/#{recipient_bcc_id}", params, default_headers)
|
85
|
-
Postfixman::
|
85
|
+
Postfixman::RecipientBcc.new(request[:body])
|
86
86
|
end
|
87
87
|
|
88
88
|
def delete_recipient_bccs(recipient_bcc_id)
|
@@ -102,12 +102,12 @@ module Postfixman
|
|
102
102
|
|
103
103
|
def create_sender_bccs(params)
|
104
104
|
request = web_request('POST', '/sender_bccs', params, default_headers)
|
105
|
-
Postfixman::
|
105
|
+
Postfixman::SenderBcc.new(request[:body])
|
106
106
|
end
|
107
107
|
|
108
108
|
def update_sender_bccs(sender_bcc_id)
|
109
109
|
request = web_request('PUT', "/sender_bccs/#{sender_bcc_id}", params, default_headers)
|
110
|
-
Postfixman::
|
110
|
+
Postfixman::SenderBcc.new(request[:body])
|
111
111
|
end
|
112
112
|
|
113
113
|
def delete_sender_bccs(sender_bcc_id)
|
data/lib/postfixman/version.rb
CHANGED