Class: PricingPlans::StatusItem
- Inherits:
-
Struct
- Object
- Struct
- PricingPlans::StatusItem
- Defined in:
- lib/pricing_plans.rb
Overview
Unified, pure-data status item for a single limit key Includes raw usage, gating flags, and view-friendly severity/message
Instance Attribute Summary collapse
-
#after_limit ⇒ Object
Returns the value of attribute after_limit.
-
#allowed ⇒ Object
Returns the value of attribute allowed.
-
#attention? ⇒ Object
Returns the value of attribute attention?.
-
#blocked ⇒ Object
Returns the value of attribute blocked.
-
#configured ⇒ Object
Returns the value of attribute configured.
-
#current ⇒ Object
Returns the value of attribute current.
-
#grace_active ⇒ Object
Returns the value of attribute grace_active.
-
#grace_ends_at ⇒ Object
Returns the value of attribute grace_ends_at.
-
#human_key ⇒ Object
Returns the value of attribute human_key.
-
#key ⇒ Object
Returns the value of attribute key.
-
#message ⇒ Object
Returns the value of attribute message.
-
#next_creation_blocked? ⇒ Object
Returns the value of attribute next_creation_blocked?.
-
#next_warn_percent ⇒ Object
Returns the value of attribute next_warn_percent.
-
#overage ⇒ Object
Returns the value of attribute overage.
-
#per ⇒ Object
Returns the value of attribute per.
-
#percent_used ⇒ Object
Returns the value of attribute percent_used.
-
#period_end ⇒ Object
Returns the value of attribute period_end.
-
#period_seconds_remaining ⇒ Object
Returns the value of attribute period_seconds_remaining.
-
#period_start ⇒ Object
Returns the value of attribute period_start.
-
#remaining ⇒ Object
Returns the value of attribute remaining.
-
#severity ⇒ Object
Returns the value of attribute severity.
-
#severity_level ⇒ Object
Returns the value of attribute severity_level.
-
#unlimited ⇒ Object
Returns the value of attribute unlimited.
-
#warn_thresholds ⇒ Object
Returns the value of attribute warn_thresholds.
Instance Attribute Details
#after_limit ⇒ Object
Returns the value of attribute after_limit
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def after_limit @after_limit end |
#allowed ⇒ Object
Returns the value of attribute allowed
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def allowed @allowed end |
#attention? ⇒ Object
Returns the value of attribute attention?
205 206 207 |
# File 'lib/pricing_plans.rb', line 205
def attention?
@attention?
end
|
#blocked ⇒ Object
Returns the value of attribute blocked
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def blocked @blocked end |
#configured ⇒ Object
Returns the value of attribute configured
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def configured @configured end |
#current ⇒ Object
Returns the value of attribute current
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def current @current end |
#grace_active ⇒ Object
Returns the value of attribute grace_active
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def grace_active @grace_active end |
#grace_ends_at ⇒ Object
Returns the value of attribute grace_ends_at
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def grace_ends_at @grace_ends_at end |
#human_key ⇒ Object
Returns the value of attribute human_key
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def human_key @human_key end |
#key ⇒ Object
Returns the value of attribute key
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def key @key end |
#message ⇒ Object
Returns the value of attribute message
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def @message end |
#next_creation_blocked? ⇒ Object
Returns the value of attribute next_creation_blocked?
205 206 207 |
# File 'lib/pricing_plans.rb', line 205
def next_creation_blocked?
@next_creation_blocked?
end
|
#next_warn_percent ⇒ Object
Returns the value of attribute next_warn_percent
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def next_warn_percent @next_warn_percent end |
#overage ⇒ Object
Returns the value of attribute overage
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def overage @overage end |
#per ⇒ Object
Returns the value of attribute per
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def per @per end |
#percent_used ⇒ Object
Returns the value of attribute percent_used
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def percent_used @percent_used end |
#period_end ⇒ Object
Returns the value of attribute period_end
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def period_end @period_end end |
#period_seconds_remaining ⇒ Object
Returns the value of attribute period_seconds_remaining
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def period_seconds_remaining @period_seconds_remaining end |
#period_start ⇒ Object
Returns the value of attribute period_start
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def period_start @period_start end |
#remaining ⇒ Object
Returns the value of attribute remaining
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def remaining @remaining end |
#severity ⇒ Object
Returns the value of attribute severity
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def severity @severity end |
#severity_level ⇒ Object
Returns the value of attribute severity_level
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def severity_level @severity_level end |
#unlimited ⇒ Object
Returns the value of attribute unlimited
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def unlimited @unlimited end |
#warn_thresholds ⇒ Object
Returns the value of attribute warn_thresholds
205 206 207 |
# File 'lib/pricing_plans.rb', line 205 def warn_thresholds @warn_thresholds end |