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