Method: OryClient::Subscription#hash

Defined in:
lib/ory-client/models/subscription.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



303
304
305
# File 'lib/ory-client/models/subscription.rb', line 303

def hash
  [created_at, currency, current_interval, current_plan, customer_id, id, interval_changes_to, ongoing_stripe_checkout_id, payed_until, plan_changes_at, plan_changes_to, status, updated_at].hash
end