Class: Facebooker::Photo

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/facebooker/models/photo.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

#aidObject

Returns the value of attribute aid.



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

def aid
  @aid
end

#captionObject

Returns the value of attribute caption.



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

def caption
  @caption
end

#createdObject

Returns the value of attribute created.



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

def created
  @created
end

Returns the value of attribute link.



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

def link
  @link
end

#ownerObject

Returns the value of attribute owner.



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

def owner
  @owner
end

#srcObject

Returns the value of attribute src.



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

def src
  @src
end

#src_bigObject

Returns the value of attribute src_big.



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

def src_big
  @src_big
end

#src_smallObject

Returns the value of attribute src_small.



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

def src_small
  @src_small
end

#story_fbidObject

Returns the value of attribute story_fbid.



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

def story_fbid
  @story_fbid
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end

Instance Method Details

#pid=(val) ⇒ Object Also known as: id=

override the generated method for id_is to use a string



13
14
15
# File 'lib/facebooker/models/photo.rb', line 13

def pid=(val)
  @pid = val
end