Class: PricingPlans::StatusItem

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#after_limitObject

Returns the value of attribute after_limit

Returns:

  • (Object)

    the current value of after_limit



205
206
207
# File 'lib/pricing_plans.rb', line 205

def after_limit
  @after_limit
end

#allowedObject

Returns the value of attribute allowed

Returns:

  • (Object)

    the current value of allowed



205
206
207
# File 'lib/pricing_plans.rb', line 205

def allowed
  @allowed
end

#attention?Object

Returns the value of attribute attention?

Returns:

  • (Object)

    the current value of attention?



205
206
207
# File 'lib/pricing_plans.rb', line 205

def attention?
  @attention?
end

#blockedObject

Returns the value of attribute blocked

Returns:

  • (Object)

    the current value of blocked



205
206
207
# File 'lib/pricing_plans.rb', line 205

def blocked
  @blocked
end

#configuredObject

Returns the value of attribute configured

Returns:

  • (Object)

    the current value of configured



205
206
207
# File 'lib/pricing_plans.rb', line 205

def configured
  @configured
end

#currentObject

Returns the value of attribute current

Returns:

  • (Object)

    the current value of current



205
206
207
# File 'lib/pricing_plans.rb', line 205

def current
  @current
end

#grace_activeObject

Returns the value of attribute grace_active

Returns:

  • (Object)

    the current value of grace_active



205
206
207
# File 'lib/pricing_plans.rb', line 205

def grace_active
  @grace_active
end

#grace_ends_atObject

Returns the value of attribute grace_ends_at

Returns:

  • (Object)

    the current value of grace_ends_at



205
206
207
# File 'lib/pricing_plans.rb', line 205

def grace_ends_at
  @grace_ends_at
end

#human_keyObject

Returns the value of attribute human_key

Returns:

  • (Object)

    the current value of human_key



205
206
207
# File 'lib/pricing_plans.rb', line 205

def human_key
  @human_key
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



205
206
207
# File 'lib/pricing_plans.rb', line 205

def key
  @key
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



205
206
207
# File 'lib/pricing_plans.rb', line 205

def message
  @message
end

#next_creation_blocked?Object

Returns the value of attribute next_creation_blocked?

Returns:

  • (Object)

    the current value of next_creation_blocked?



205
206
207
# File 'lib/pricing_plans.rb', line 205

def next_creation_blocked?
  @next_creation_blocked?
end

#next_warn_percentObject

Returns the value of attribute next_warn_percent

Returns:

  • (Object)

    the current value of next_warn_percent



205
206
207
# File 'lib/pricing_plans.rb', line 205

def next_warn_percent
  @next_warn_percent
end

#overageObject

Returns the value of attribute overage

Returns:

  • (Object)

    the current value of overage



205
206
207
# File 'lib/pricing_plans.rb', line 205

def overage
  @overage
end

#perObject

Returns the value of attribute per

Returns:

  • (Object)

    the current value of per



205
206
207
# File 'lib/pricing_plans.rb', line 205

def per
  @per
end

#percent_usedObject

Returns the value of attribute percent_used

Returns:

  • (Object)

    the current value of percent_used



205
206
207
# File 'lib/pricing_plans.rb', line 205

def percent_used
  @percent_used
end

#period_endObject

Returns the value of attribute period_end

Returns:

  • (Object)

    the current value of period_end



205
206
207
# File 'lib/pricing_plans.rb', line 205

def period_end
  @period_end
end

#period_seconds_remainingObject

Returns the value of attribute period_seconds_remaining

Returns:

  • (Object)

    the current value of period_seconds_remaining



205
206
207
# File 'lib/pricing_plans.rb', line 205

def period_seconds_remaining
  @period_seconds_remaining
end

#period_startObject

Returns the value of attribute period_start

Returns:

  • (Object)

    the current value of period_start



205
206
207
# File 'lib/pricing_plans.rb', line 205

def period_start
  @period_start
end

#remainingObject

Returns the value of attribute remaining

Returns:

  • (Object)

    the current value of remaining



205
206
207
# File 'lib/pricing_plans.rb', line 205

def remaining
  @remaining
end

#severityObject

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



205
206
207
# File 'lib/pricing_plans.rb', line 205

def severity
  @severity
end

#severity_levelObject

Returns the value of attribute severity_level

Returns:

  • (Object)

    the current value of severity_level



205
206
207
# File 'lib/pricing_plans.rb', line 205

def severity_level
  @severity_level
end

#unlimitedObject

Returns the value of attribute unlimited

Returns:

  • (Object)

    the current value of unlimited



205
206
207
# File 'lib/pricing_plans.rb', line 205

def unlimited
  @unlimited
end

#warn_thresholdsObject

Returns the value of attribute warn_thresholds

Returns:

  • (Object)

    the current value of warn_thresholds



205
206
207
# File 'lib/pricing_plans.rb', line 205

def warn_thresholds
  @warn_thresholds
end