killbill-client 0.2.0 → 0.2.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: 7c3cd7bf2ed2d8a9477660ab9e345657fa331eb3
4
- data.tar.gz: b249ca8abe133b75a6f38e23364cbef0a79e5629
3
+ metadata.gz: b863822c7c443a03870f65858c20649c300ccc11
4
+ data.tar.gz: 5d714717550faf0eee79c7ac25f94146c0cd577c
5
5
  SHA512:
6
- metadata.gz: 58171e8f433fde25fd3d146586f4bcbe5f1f647ff7087162cdba2aa368c9b100c8797bc68b029f7b7f04636196548748a6b328783974b66c57f09c4a5a1ed646
7
- data.tar.gz: 8df7abc43524e0b912cd2216ab1bdec510f609469ee08298169b235a57f46abc2a6532379b18ceeb1b7b9bce4a2f02e3378c9271984c7c39327ac93a70bd608d
6
+ metadata.gz: a97badf10e6f748e9bc4b51c91a465bdb3932c2b01f19053e170459f74e31594f59e71fbf8eb0054f41b9fc9c891e9cded2d50ee99db3ee1f3061d43528425c6
7
+ data.tar.gz: de6973179726e218d5b1b804339d6ec7ce9018d977913c4500f6849be8de19f27b7e8e2bdccde9b49ea053b7d1e329009b64f86e88d664ad68be0804a74a1da9
@@ -23,7 +23,7 @@ module KillBillClient
23
23
  :reason => reason,
24
24
  :comment => comment,
25
25
  }.merge(options)
26
- created_account.refresh
26
+ created_account.refresh(options)
27
27
  end
28
28
 
29
29
  def payments(options = {})
@@ -62,7 +62,7 @@ module KillBillClient
62
62
  :comment => comment,
63
63
  }.merge(options),
64
64
  Tag
65
- created_tag.refresh
65
+ created_tag.refresh(options)
66
66
  end
67
67
 
68
68
  def remove_tag(tag_name, user = nil, reason = nil, comment = nil, options = {})
@@ -10,7 +10,7 @@ module KillBillClient
10
10
  :reason => reason,
11
11
  :comment => comment,
12
12
  }.merge(options)
13
- created_invoice_item.refresh(Invoice)
13
+ created_invoice_item.refresh(options, Invoice)
14
14
  end
15
15
  end
16
16
  end
@@ -20,7 +20,7 @@ module KillBillClient
20
20
  options
21
21
  end
22
22
 
23
- def find_all_by_search_key(search_key, with_plugin_info = false, options)
23
+ def find_all_by_search_key(search_key, with_plugin_info = false, options = {})
24
24
  get "#{KILLBILL_API_PAYMENT_METHODS_PREFIX}/search/#{search_key}",
25
25
  {
26
26
  :withPluginInfo => with_plugin_info
@@ -63,7 +63,7 @@ module KillBillClient
63
63
  :reason => reason,
64
64
  :comment => comment,
65
65
  }.merge(options)
66
- created_pm.refresh
66
+ created_pm.refresh(options)
67
67
  end
68
68
 
69
69
  def destroy(set_auto_pay_off = false, user = nil, reason = nil, comment = nil, options = {})
@@ -187,9 +187,9 @@ module KillBillClient
187
187
  to_hash.to_json
188
188
  end
189
189
 
190
- def refresh(clazz=self.class)
190
+ def refresh(options = {}, clazz=self.class)
191
191
  if @uri
192
- self.class.get @uri, {}, {}, clazz
192
+ self.class.get @uri, {}, options, clazz
193
193
  else
194
194
  self
195
195
  end
@@ -24,7 +24,7 @@ module KillBillClient
24
24
  :reason => reason,
25
25
  :comment => comment,
26
26
  }.merge(options)
27
- created_tag_definition.refresh
27
+ created_tag_definition.refresh(options)
28
28
  end
29
29
  end
30
30
  end
@@ -26,7 +26,7 @@ module KillBillClient
26
26
  :reason => reason,
27
27
  :comment => comment,
28
28
  }.merge(options)
29
- created_tenant.refresh
29
+ created_tenant.refresh(options)
30
30
  end
31
31
  end
32
32
  end
@@ -2,7 +2,7 @@ module KillBillClient
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- PATCH = 0
5
+ PATCH = 1
6
6
  PRE = nil
7
7
 
8
8
  VERSION = [MAJOR, MINOR, PATCH, PRE].compact.join('.').freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Killbill core team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-19 00:00:00.000000000 Z
11
+ date: 2013-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake