Class: FbGraph::Cover

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

Instance Attribute Summary collapse

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

Methods included from FbGraph::Connections::Tags::Taggable

#tag!

Methods included from FbGraph::Connections::Tags

#tags

Methods included from FbGraph::Connections::Picture

#picture

Methods included from FbGraph::Connections::Likes::Likable

#like!, #unlike!

Methods included from FbGraph::Connections::Likes

#likes

Methods included from FbGraph::Connections::Comments

#comment!, #comments, #reply!

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_yObject

Returns the value of attribute offset_y.



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

def offset_y
  @offset_y
end