class GoodData::FilterApplyItem

Constants

ASSIGNABLE_MEMBERS
EMPTY_OBJECT

Public Class Methods

create(tab, item) click to toggle source
# File lib/gooddata/models/metadata/dashboard/filter_apply_item.rb, line 24
def create(tab, item)
  res = GoodData::FilterApply.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/filter_apply_item.rb, line 33
def initialize(tab, json)
  super
end