Class: FbGraph::Cover
Instance Attribute Summary collapse
-
#offset_y ⇒ Object
Returns the value of attribute offset_y.
Attributes inherited from Photo
#created_time, #from, #height, #icon, #images, #link, #name, #place, #source, #updated_time, #width
Attributes inherited from Node
#access_token, #endpoint, #identifier, #raw_attributes
Instance Method Summary collapse
-
#initialize(identifier, attributes = {}) ⇒ Cover
constructor
A new instance of Cover.
Methods included from FbGraph::Connections::Tags::Taggable
Methods included from FbGraph::Connections::Tags
Methods included from FbGraph::Connections::Picture
Methods included from FbGraph::Connections::Likes::Likable
Methods included from FbGraph::Connections::Likes
Methods included from FbGraph::Connections::Comments
Methods inherited from Node
#connection, #destroy, fetch, #fetch, #update
Methods included from Comparison
Constructor Details
#initialize(identifier, attributes = {}) ⇒ Cover
Returns a new instance of Cover.
5 6 7 8 |
# File 'lib/fb_graph/cover.rb', line 5 def initialize(identifier, attributes = {}) super @offset_y = attributes[:offset_y] end |
Instance Attribute Details
#offset_y ⇒ Object
Returns the value of attribute offset_y.
3 4 5 |
# File 'lib/fb_graph/cover.rb', line 3 def offset_y @offset_y end |