Skip to content

Commit 245d3c5

Browse files
committed
Add format_type and format_unit to operator API
1 parent 02b6716 commit 245d3c5

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

lib/ioki/model/operator/reporting/report_aggregation_measure.rb

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,27 @@ class ReportAggregationMeasure < Base
2525
on: :read,
2626
type: :string
2727

28+
attribute :localized_function,
29+
on: :read,
30+
type: :string
31+
2832
attribute :percentile,
2933
on: :read,
3034
type: :float
3135

32-
attribute :localized_function,
36+
attribute :format_type,
37+
on: :read,
38+
type: :string
39+
40+
attribute :localized_format_type,
3341
on: :read,
3442
type: :string
3543

36-
attribute :measure_type,
44+
attribute :format_unit,
3745
on: :read,
3846
type: :string
3947

40-
attribute :localized_measure_type,
48+
attribute :localized_format_unit,
4149
on: :read,
4250
type: :string
4351
end

0 commit comments

Comments
 (0)