Class: Facebooker::Tag
- Inherits:
-
Object
- Object
- Facebooker::Tag
- Includes:
- Model
- Defined in:
- lib/facebooker/models/tag.rb
Instance Attribute Summary collapse
-
#pid ⇒ Object
Returns the value of attribute pid.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#xcoord ⇒ Object
Returns the value of attribute xcoord.
-
#ycoord ⇒ Object
Returns the value of attribute ycoord.
Instance Method Summary collapse
Methods included from Model
#anon=, included, #initialize, #populate, #populate_from_hash!, #populated?, #session
Instance Attribute Details
#pid ⇒ Object
Returns the value of attribute pid.
5 6 7 |
# File 'lib/facebooker/models/tag.rb', line 5 def pid @pid end |
#subject ⇒ Object
Returns the value of attribute subject.
5 6 7 |
# File 'lib/facebooker/models/tag.rb', line 5 def subject @subject end |
#xcoord ⇒ Object
Returns the value of attribute xcoord.
5 6 7 |
# File 'lib/facebooker/models/tag.rb', line 5 def xcoord @xcoord end |
#ycoord ⇒ Object
Returns the value of attribute ycoord.
5 6 7 |
# File 'lib/facebooker/models/tag.rb', line 5 def ycoord @ycoord end |
Instance Method Details
#coordinates ⇒ Object
7 8 9 |
# File 'lib/facebooker/models/tag.rb', line 7 def coordinates [xcoord, ycoord] end |