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 withChartMogul::Metrics::Customers::Activity.all('cus_58c7d166-3bd1-4c10-948e-e68bb0fa2478')
ChartMogul::Metrics::Subscription.all('cus_3f6f53d3-bca7-4fcd-ad47-345180ef329b')
should be replace withChartMogul::Metrics::Customers::Subscription.all('cus_3f6f53d3-bca7-4fcd-ad47-345180ef329b')