A Ruby API wrapper for Recurly
MIT License
Bot releases are visible (Hide)
Published by bhelx almost 7 years ago
subscriptions
link to Invoice
and Transaction
PR
Published by bhelx about 7 years ago
This release will upgrade us to API version 2.8.
There are two breaking changes in this API version you must consider.
All country
fields must now contain valid 2 letter ISO 3166 country codes. If your country code fails validation, you will receive a validation error. This affects any endpoint where an address is collected.
The purchases endpoint can create and invoice multiple adjustments at once but our invoices can only contain items in one currency. To make this explicit the currency can no longer be provided on an adjustment, it must be set once for the entire purchase:
purchase = Recurly::Purchase.new(
# The purchase object is the only place you can set the currency:
currency: 'USD',
account: {
account_code: 'someone'
}
adjustments: [
{
# Remove this currency
# You can no longer set the currency on adjustment level
currency: 'USD',
unit_amount_in_cents: 1000
}
]
)
Published by bhelx about 7 years ago
Published by bhelx over 7 years ago
NOTE: This release contains an accidental breaking change on Subscription.new. See #338 for more details. Upgrade to 2.10.2 for the fix.
This release will upgrade us to API version 2.7. There are no breaking changes.
Published by bhelx over 7 years ago
This release will upgrade us to API version 2.6. There are two breaking changes:
Pager#count
, it will send a HEAD
request to the server. Ensure you aren't calling that method in places where you expect the valuePOST /v2/subscriptions
Sending nil
for total_billing_cycles
attribute will now override plan total_billing_cycles
setting and will make subscription renew forever.total_billing_cycles
.Published by bhelx over 7 years ago
gem "nokogiri"
to your Gemfile. PR
Ruby 1.9 and 2.0 are now deprecated. You may no longer use nokogiri on these rubies. Please see PR #317 for more information. If you wish to use nokogiri and it's not already required (by rails for instance), you will need to explicitly add it as a dependency and require it.
Published by bhelx over 7 years ago
Resource.find
empty strings #307If you are using as_json
on a Resource (previously unsupported) we are now returning the attributes as json rather than the resource as json. This means your returned Hash will not have an attributes
key but will rather BE the attributes
value. See #295
Published by bhelx over 7 years ago
product_code
to Transaction and Adjustment #298Published by bhelx over 7 years ago
If you were are using as_json
on a Resource (previously unsupported) we are now returning the attributes as json rather than the resource as json. This means your returned Hash will not have an attributes
key but will rather BE the attributes
value. See #295
Published by bhelx almost 8 years ago
Bumps use to API version 2.5. This is a release candidate and we cannot guarantee a stable API yet.
Published by bhelx almost 8 years ago
Published by bhelx almost 8 years ago
updated_at
to MeasuredUnit
PR
canceled_at
timestamp PR
timeframe
attribute to Subscription
PR
Published by cookrn about 8 years ago
Properly add support for gift cards.
Published by bhelx about 8 years ago
Published by bhelx about 8 years ago
Published by bhelx over 8 years ago
changed?
in Account
PR
Published by bhelx over 8 years ago
roku_billing_agreement_id
PR
Account#address_changed?
dirty check PR
<fraud>
if it exists on Transaction
PR
unit_amount_in_cents
on Subscription
PR
puts
in specs PR
Note: This version has a bug around creating accounts. We recommend using 2.6.1 or later https://github.com/recurly/recurly-client-ruby/releases/tag/v2.6.1
Published by bhelx over 8 years ago
Published by bhelx over 8 years ago
currency
attribute to BillingInfo
object so client can pass currency on create/update PR