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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49635b4d7244d9a92916d9cddfbd8484b5dafefa
4
- data.tar.gz: a928952702629981a36fcf1dee98df7f4fb831ec
3
+ metadata.gz: dbe73fd459015c416df7c3fc5f21d61f6d5171bc
4
+ data.tar.gz: 110bae9ff29e18f34d708ff5fbb33554105bd243
5
5
  SHA512:
6
- metadata.gz: 203db3482927785e7665d4b30580e46bb0c8b5f99b5f9de804195e6764ae72e0bd7454a2efe90603151ba28c697373d765c07ca70c51cbff2abd82e59e7be3ae
7
- data.tar.gz: 81d0bdb23f6c70ad7f61a95b5358587b1c7aec4787cb77468fb92f3996bd3e01f537f6a526b36c96273c1ec0649d60430ab29562f72af02beb601e86f404bf4b
6
+ metadata.gz: 81c5ba347c6fc2be578e1a9bff522bb71d173b62beba36f64c1a0196ad034cfb784d25415234c212bf51a664aa1be2ad0021cd03a8bc684bf47bc143a7311f5f
7
+ data.tar.gz: e0600ec4506381135ca252c803eadd77e0bbdbea5059300e94849c9709e072775c1b72e2067e37864eeb711357093c6b2166221c0062a2889d30ef0045e5370c
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@
6
6
 
7
7
  * Bugfixes
8
8
 
9
- ## v0.1
9
+ ## v0.1.0
10
10
 
11
11
  * Added api methods
12
+
13
+ ## v0.1.1
14
+
15
+ * Bugfixes
@@ -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/#{user_id}", params, default_headers)
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/#{user_id}", params, default_headers)
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/#{user_id}", params, default_headers)
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/#{user_id}", params, default_headers)
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/#{user_id}", params, default_headers)
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/#{user_id}", params, default_headers)
114
+ request = web_request('DELETE', "/sender_bccs/#{sender_bcc_id}", params, default_headers)
115
115
  request[:body]['success'] == true
116
116
  end
117
117
 
@@ -1,3 +1,3 @@
1
1
  module Postfixman
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postfixman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Hick