Class: FbGraph::AdImage

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

Constant Summary collapse

ATTRS =
[
  :hash,
  :url
]

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 = {}) ⇒ AdImage

Returns a new instance of AdImage



10
11
12
13
# File 'lib/fb_graph/ad_image.rb', line 10

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