Class: SSRS::Shell
- Inherits:
-
Object
- Object
- SSRS::Shell
- Defined in:
- lib/ssrs/shell.rb
Overview
Generator for “SQL Server Business Intelligence Development Studio” projects
Class Attribute Summary collapse
-
.generate_projects ⇒ Object
writeonly
Sets the attribute generate_projects.
-
.upload_reports ⇒ Object
writeonly
Sets the attribute upload_reports.
Class Method Summary collapse
Class Attribute Details
.generate_projects=(value) ⇒ Object (writeonly)
Sets the attribute generate_projects
5 6 7 |
# File 'lib/ssrs/shell.rb', line 5 def generate_projects=(value) @generate_projects = value end |
.upload_reports=(value) ⇒ Object (writeonly)
Sets the attribute upload_reports
11 12 13 |
# File 'lib/ssrs/shell.rb', line 11 def upload_reports=(value) @upload_reports = value end |
Class Method Details
.generate_projects? ⇒ Boolean
7 8 9 |
# File 'lib/ssrs/shell.rb', line 7 def generate_projects? @generate_projects ||= false end |
.run ⇒ Object
18 19 20 21 22 23 |
# File 'lib/ssrs/shell.rb', line 18 def self.run parse_args SSRS::BIDS.generate if generate_projects? SSRS::Uploader.upload if upload_reports? end |
.upload_reports? ⇒ Boolean
13 14 15 |
# File 'lib/ssrs/shell.rb', line 13 def upload_reports? @upload_reports ||= false end |