Class: GSGraph::Cover

Inherits:
Photo show all
Defined in:
lib/gs_graph/cover.rb

Instance Attribute Summary collapse

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

Methods included from GSGraph::Connections::Tags::Taggable

#tag!

Methods included from GSGraph::Connections::Tags

#tags

Methods included from GSGraph::Connections::Picture

#picture

Methods included from GSGraph::Connections::Likes::Likable

#like!, #unlike!

Methods included from GSGraph::Connections::Likes

#likes

Methods included from GSGraph::Connections::Comments

#comment!, #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_yObject

Returns the value of attribute offset_y.



3
4
5
# File 'lib/gs_graph/cover.rb', line 3

def offset_y
  @offset_y
end