Class: FbGraph::AdCreative

Inherits:
Node
  • Object
show all
Defined in:
lib/fb_graph/ad_creative.rb

Constant Summary

ATTRS =
[
  :id,
  :view_tag,
  :alt_view_tags,
  :creative_id,
  :type,
  :title,
  :body,
  :image_hash,
  :link_url,
  :name,
  :run_status,
  :preview_url,
  :count_current_adgroups,
  :facebook_object_id, # can't use object_id since it's a core ruby method
  :story_id,
  :image_url,
  :url_tags,
  :related_fan_page,
  :auto_update,
  :action_spec,
  :query_templates
]

Instance Attribute Summary

Attributes inherited from Node

#access_token, #endpoint, #identifier, #raw_attributes

Instance Method Summary collapse

Methods inherited from Node

#connection, #destroy, #fetch, fetch, #update

Methods included from Comparison

#==

Constructor Details

#initialize(identifier, attributes = {}) ⇒ AdCreative



29
30
31
32
# File 'lib/fb_graph/ad_creative.rb', line 29

def initialize(identifier, attributes = {})
  super
  set_attrs(attributes)
end