Exception: PricingPlans::LegacyDefaultPlanAssignmentError
- Defined in:
- lib/pricing_plans.rb
Instance Attribute Summary collapse
-
#configured_default_plan_key ⇒ Object
readonly
Returns the value of attribute configured_default_plan_key.
-
#legacy_assignment_method_name ⇒ Object
readonly
Returns the value of attribute legacy_assignment_method_name.
Instance Method Summary collapse
-
#initialize(message, configured_default_plan_key:, legacy_assignment_method_name:) ⇒ LegacyDefaultPlanAssignmentError
constructor
A new instance of LegacyDefaultPlanAssignmentError.
Constructor Details
#initialize(message, configured_default_plan_key:, legacy_assignment_method_name:) ⇒ LegacyDefaultPlanAssignmentError
Returns a new instance of LegacyDefaultPlanAssignmentError.
15 16 17 18 19 |
# File 'lib/pricing_plans.rb', line 15 def initialize(, configured_default_plan_key:, legacy_assignment_method_name:) super() @configured_default_plan_key = configured_default_plan_key.to_sym @legacy_assignment_method_name = legacy_assignment_method_name end |
Instance Attribute Details
#configured_default_plan_key ⇒ Object (readonly)
Returns the value of attribute configured_default_plan_key.
13 14 15 |
# File 'lib/pricing_plans.rb', line 13 def configured_default_plan_key @configured_default_plan_key end |
#legacy_assignment_method_name ⇒ Object (readonly)
Returns the value of attribute legacy_assignment_method_name.
13 14 15 |
# File 'lib/pricing_plans.rb', line 13 def legacy_assignment_method_name @legacy_assignment_method_name end |