Skip to content

Commit

Permalink
Support uuid attribute for subscription resource
Browse files Browse the repository at this point in the history
  • Loading branch information
whobubble committed Feb 7, 2024
1 parent 56fbc63 commit 1a82a5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/chartmogul/metrics/customers/subscription.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module Metrics
module Customers
class Subscription < ChartMogul::Object
readonly_attr :id
readonly_attr :uuid
readonly_attr :external_id
readonly_attr :plan
readonly_attr :quantity
Expand Down
1 change: 1 addition & 0 deletions spec/chartmogul/metrics/customers/subscriptions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
subscription = response[0]
expect(subscription).to be_kind_of(ChartMogul::Metrics::Customers::Subscription)
expect(subscription.id).not_to be_nil
expect(subscription.uuid).not_to be_nil
expect(subscription.plan).not_to be_nil
expect(subscription.quantity).not_to be_nil
expect(subscription.mrr).not_to be_nil
Expand Down

0 comments on commit 1a82a5d

Please sign in to comment.