class Radar::Api::Result
Constants
- BAR_CHART
- FIELDS
- LINE_CHART
- PIE_CHART
- TABLE
Public Class Methods
bar_chart(val)
click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 475 def bar_chart(val) Result.new(:bar_chart, val) end
line_chart(val)
click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 471 def line_chart(val) Result.new(:line_chart, val) end
pie_chart(val)
click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 467 def pie_chart(val) Result.new(:pie_chart, val) end
table(val)
click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 463 def table(val) Result.new(:table, val) end
Public Instance Methods
struct_fields()
click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 492 def struct_fields; FIELDS; end
validate()
click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 494 def validate raise(StandardError, 'Union fields are not set.') if get_set_field.nil? || get_value.nil? end