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

- (Object) created

Returns the value of attribute created



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

def created
  @created
end

- (Object) pid

Returns the value of attribute pid



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

def pid
  @pid
end

- (Object) subject

Returns the value of attribute subject



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

def subject
  @subject
end

- (Object) text

Returns the value of attribute text



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

def text
  @text
end

- (Object) xcoord

Returns the value of attribute xcoord



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

def xcoord
  @xcoord
end

- (Object) ycoord

Returns the value of attribute ycoord



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

def ycoord
  @ycoord
end

Instance Method Details

- (Object) coordinates



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

def coordinates
  [xcoord, ycoord]
end