chartmogul/chartmogul-ruby

View on GitHub
2.0-Upgrade.md

Summary

Maintainability
Test Coverage
# Upgrading to chartmogul-ruby 2.0.0

The gem upgrade brings breaking changes to the Metrics API. All other APIs remain unaffected. Please note the following changes:

* If you used the Metrics API to get a customer's activities or subscriptions, make the following changes in the namespace
  - `ChartMogul::Metrics::Activity.all('cus_58c7d166-3bd1-4c10-948e-e68bb0fa2478')` should be replaced with `ChartMogul::Metrics::Customers::Activity.all('cus_58c7d166-3bd1-4c10-948e-e68bb0fa2478')`
  - `ChartMogul::Metrics::Subscription.all('cus_3f6f53d3-bca7-4fcd-ad47-345180ef329b')` should be replace with `ChartMogul::Metrics::Customers::Subscription.all('cus_3f6f53d3-bca7-4fcd-ad47-345180ef329b')`