Sha256: c291ae3df7d459954c630d2402fb52f1ff048c7e7fc7043774102d5e7e2f9929
Contents?: true
Size: 463 Bytes
Versions: 42
Compression:
Stored size: 463 Bytes
Contents
module FbGraph class ReachEstimate < Node attr_accessor :users, :cpc_max, :cpc_median, :cpc_min, :cpm_max, :cpm_median, :cpm_min def initialize(attributes = {}) super %w(users).each do |field| send("#{field}=", attributes[field.to_sym]) end %w(cpc_min cpc_median cpc_max cpm_min cpm_median cpm_max).each do |field| send("#{field}=", attributes[:bid_estimations][0][field.to_sym]) end end end end
Version data entries
42 entries across 42 versions & 1 rubygems