Class: FbGraph::Picture
- Inherits:
-
Object
- Object
- FbGraph::Picture
- Includes:
- Comparison
- Defined in:
- lib/fb_graph/picture.rb
Constant Summary collapse
- @@attributes =
[:is_silhouette, :url, :height, :width]
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Picture
constructor
A new instance of Picture.
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 |