class GoodData::Model::TabBuilder
Public Class Methods
Source
# File lib/gooddata/models/tab_builder.rb, line 10 def initialize(title) @title = title @stuff = [] end
Public Instance Methods
Source
# File lib/gooddata/models/tab_builder.rb, line 15 def add_report(options = {}) @stuff << { :type => :report }.merge(options) end
Source
# File lib/gooddata/models/tab_builder.rb, line 19 def to_hash { :title => @title, :items => @stuff } end