Class: GSGraph::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, #position, #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 GSGraph::Connections::Tags::Taggable
Methods included from GSGraph::Connections::Tags
Methods included from GSGraph::Connections::Picture
Methods included from GSGraph::Connections::Likes::Likable
Methods included from GSGraph::Connections::Likes
Methods included from GSGraph::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/gs_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/gs_graph/cover.rb', line 3 def offset_y @offset_y end |