class GoodData::IframeItem
Constants
- ASSIGNABLE_MEMBERS
- EMPTY_OBJECT
Public Class Methods
create(tab, item)
click to toggle source
# File lib/gooddata/models/metadata/dashboard/iframe_item.rb, line 25 def create(tab, item) res = GoodData::IframeItem.new(tab, GoodData::Helpers.deep_dup(GoodData::Helpers.stringify_keys(EMPTY_OBJECT))) item.each do |k, v| res.send("#{k}=", v) if ASSIGNABLE_MEMBERS.include? k end res end
new(tab, json)
click to toggle source
Calls superclass method
GoodData::DashboardItem::new
# File lib/gooddata/models/metadata/dashboard/iframe_item.rb, line 34 def initialize(tab, json) super end
Public Instance Methods
url()
click to toggle source
# File lib/gooddata/models/metadata/dashboard/iframe_item.rb, line 38 def url data['url'] end
url=(new_url)
click to toggle source
# File lib/gooddata/models/metadata/dashboard/iframe_item.rb, line 42 def url=(new_url) data['url'] = new_url end