Skip to content

Commit

Permalink
added support for subscription_external_id
Browse files Browse the repository at this point in the history
  • Loading branch information
polis80cy committed Nov 11, 2020
1 parent 5d4e63c commit 1b273d2
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 1 deletion.
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions lib/chartmogul/metrics/activity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class Activity < ChartMogul::Object
readonly_attr :activity_mrr_movement
readonly_attr :currency
readonly_attr :currency_sign
readonly_attr :subscription_external_id

def self.all(customer_uuid, options = {})
ChartMogul::Metrics::Activities.all(customer_uuid, options)
Expand Down
2 changes: 1 addition & 1 deletion lib/chartmogul/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module ChartMogul
VERSION = '1.6.7'
VERSION = '1.6.8'
end
Binary file added spec/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions spec/chartmogul/metrics/activities_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
expect(activity.activity_mrr_movement).not_to be_nil
expect(activity.currency).not_to be_nil
expect(activity.currency_sign).not_to be_nil
expect(activity.subscription_external_id).not_to be_nil
end
end

0 comments on commit 1b273d2

Please sign in to comment.