recurly 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of recurly might be problematic. Click here for more details.

@@ -57,7 +57,7 @@ module Recurly
57
57
  # Valid timeframe: :now or :renewal
58
58
  # Valid options: plan_code, quantity, unit_amount
59
59
  def change(timeframe, options = {})
60
- raise "Timeframe must be :full or :renewal." unless ['now','renewal'].include?(timeframe)
60
+ raise "Timeframe must be :now or :renewal." unless ['now','renewal'].include?(timeframe)
61
61
  options[:timeframe] = timeframe
62
62
  path = "/accounts/#{CGI::escape(self.subscription_account_code.to_s)}/subscription.xml"
63
63
  connection.put(path,
@@ -61,7 +61,7 @@ module Recurly
61
61
  end
62
62
 
63
63
  def refund(amount_in_cents)
64
- connection.delete(element_path(:action => "refund", :amount => amount_in_cents), self.class.headers)
64
+ connection.delete(element_path(:action => "refund", :amount_in_cents => amount_in_cents), self.class.headers)
65
65
  end
66
66
 
67
67
  end
@@ -1,3 +1,3 @@
1
1
  module Recurly #:nodoc
2
- VERSION = "0.4.6"
2
+ VERSION = "0.4.7"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: recurly
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.6
5
+ version: 0.4.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Isaac Hall
@@ -223,7 +223,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
223
223
  requirements:
224
224
  - - ">="
225
225
  - !ruby/object:Gem::Version
226
- hash: 3577200181031816901
226
+ hash: -2856435589924411737
227
227
  segments:
228
228
  - 0
229
229
  version: "0"