Class: FbGraph::Picture

Inherits:
Object
  • Object
show all
Includes:
Comparison
Defined in:
lib/fb_graph/picture.rb

Constant Summary collapse

@@attributes =
[:is_silhouette, :url, :height, :width]

Instance Method Summary collapse

Methods included from Comparison

#==

Constructor Details

#initialize(attributes = {}) ⇒ Picture

Returns a new instance of Picture.



8
9
10
11
12
# File 'lib/fb_graph/picture.rb', line 8

def initialize(attributes = {})
  @@attributes.each do |key|
    self.send :"#{key}=", attributes[key]
  end
end