Class: BOSDK::WebiReportEngine
- Inherits:
-
Object
- Object
- BOSDK::WebiReportEngine
- Defined in:
- lib/bosdk/webi_report_engine.rb
Overview
Creates a wrapper around a Webi based ReportEngine.
Instance Attribute Summary (collapse)
-
- (Object) webi_report_engine
readonly
The underlying ReportEngine.
Instance Method Summary (collapse)
-
- (WebiReportEngine) initialize(enterprise_session, locale = "en_US")
constructor
Creates a new ReportEngine using the provided EnterpriseSession and an optional locale setting.
-
- (Object) open(docid)
Opens the webi document specified by the docid.
Constructor Details
- (WebiReportEngine) initialize(enterprise_session, locale = "en_US")
Creates a new ReportEngine using the provided EnterpriseSession and an optional locale setting.
WebiReportEngine.new(enterprise_session)
10 11 12 13 |
# File 'lib/bosdk/webi_report_engine.rb', line 10 def initialize(enterprise_session, locale = "en_US") @webi_report_engine = enterprise_session.getService("", "WebiReportEngine") @webi_report_engine.setLocale(locale) end |
Instance Attribute Details
- (Object) webi_report_engine (readonly)
The underlying ReportEngine.
5 6 7 |
# File 'lib/bosdk/webi_report_engine.rb', line 5 def webi_report_engine @webi_report_engine end |
Instance Method Details
- (Object) open(docid)
Opens the webi document specified by the docid.
16 17 18 |
# File 'lib/bosdk/webi_report_engine.rb', line 16 def open(docid) @webi_report_engine.openDocument(docid) end |