Class: ThreeScaleToolbox::CRD::ProductParser::Limit
- Inherits:
-
Struct
- Object
- Struct
- ThreeScaleToolbox::CRD::ProductParser::Limit
- Defined in:
- lib/3scale_toolbox/crds/product_parser.rb
Instance Attribute Summary collapse
-
#backend_system_name ⇒ Object
Returns the value of attribute backend_system_name.
-
#metric_system_name ⇒ Object
Returns the value of attribute metric_system_name.
-
#period ⇒ Object
Returns the value of attribute period.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#backend_system_name ⇒ Object
Returns the value of attribute backend_system_name
9 10 11 |
# File 'lib/3scale_toolbox/crds/product_parser.rb', line 9 def backend_system_name @backend_system_name end |
#metric_system_name ⇒ Object
Returns the value of attribute metric_system_name
9 10 11 |
# File 'lib/3scale_toolbox/crds/product_parser.rb', line 9 def metric_system_name @metric_system_name end |
#period ⇒ Object
Returns the value of attribute period
9 10 11 |
# File 'lib/3scale_toolbox/crds/product_parser.rb', line 9 def period @period end |
#value ⇒ Object
Returns the value of attribute value
9 10 11 |
# File 'lib/3scale_toolbox/crds/product_parser.rb', line 9 def value @value end |
Instance Method Details
#to_s ⇒ Object
10 11 12 |
# File 'lib/3scale_toolbox/crds/product_parser.rb', line 10 def to_s {period: period, value: value}.to_json end |