Method: OryClient::CreateSubscriptionBody#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



227
228
229
# File 'lib/ory-client/models/create_subscription_body.rb', line 227

def hash
  [currency, interval, plan, provision_first_project, return_to].hash
end