Exception: ThreeScale::Backend::MetricInvalid
- Defined in:
- lib/3scale/backend/errors.rb
Instance Method Summary collapse
-
#initialize(metric_name) ⇒ MetricInvalid
constructor
A new instance of MetricInvalid.
Methods inherited from NotFound
Methods inherited from Error
#code, code, #http_code, #to_xml, underscore
Constructor Details
#initialize(metric_name) ⇒ MetricInvalid
Returns a new instance of MetricInvalid.
125 126 127 |
# File 'lib/3scale/backend/errors.rb', line 125 def initialize(metric_name) super %(metric "#{metric_name}" is invalid) end |