Class: Stripe::Billing::MeterCreateParams::DefaultAggregation
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Billing::MeterCreateParams::DefaultAggregation
- Defined in:
- lib/stripe/params/billing/meter_create_params.rb
Instance Attribute Summary collapse
-
#formula ⇒ Object
Specifies how events are aggregated.
Instance Method Summary collapse
-
#initialize(formula: nil) ⇒ DefaultAggregation
constructor
A new instance of DefaultAggregation.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(formula: nil) ⇒ DefaultAggregation
Returns a new instance of DefaultAggregation.
23 24 25 |
# File 'lib/stripe/params/billing/meter_create_params.rb', line 23 def initialize(formula: nil) @formula = formula end |
Instance Attribute Details
#formula ⇒ Object
Specifies how events are aggregated.
21 22 23 |
# File 'lib/stripe/params/billing/meter_create_params.rb', line 21 def formula @formula end |