Class: Facebooker::Tag

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/facebooker/models/tag.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Model

#anon=, included, #initialize, #populate, #populate_from_hash!, #populated?, #session

Instance Attribute Details

#createdObject

Returns the value of attribute created.



5
6
7
# File 'lib/facebooker/models/tag.rb', line 5

def created
  @created
end

#pidObject

Returns the value of attribute pid.



5
6
7
# File 'lib/facebooker/models/tag.rb', line 5

def pid
  @pid
end

#subjectObject

Returns the value of attribute subject.



5
6
7
# File 'lib/facebooker/models/tag.rb', line 5

def subject
  @subject
end

#textObject

Returns the value of attribute text.



5
6
7
# File 'lib/facebooker/models/tag.rb', line 5

def text
  @text
end

#xcoordObject

Returns the value of attribute xcoord.



5
6
7
# File 'lib/facebooker/models/tag.rb', line 5

def xcoord
  @xcoord
end

#ycoordObject

Returns the value of attribute ycoord.



5
6
7
# File 'lib/facebooker/models/tag.rb', line 5

def ycoord
  @ycoord
end

Instance Method Details

#coordinatesObject



7
8
9
# File 'lib/facebooker/models/tag.rb', line 7

def coordinates
  [xcoord, ycoord]
end