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

#aid ⇒ Object

Returns the value of attribute aid.



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

def aid
  @aid
end

#caption ⇒ Object

Returns the value of attribute caption.



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

def caption
  @caption
end

#created ⇒ Object

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

#owner ⇒ Object

Returns the value of attribute owner.



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

def owner
  @owner
end

#src ⇒ Object

Returns the value of attribute src.



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

def src
  @src
end

#src_big ⇒ Object

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_small ⇒ Object

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_fbid ⇒ Object

Returns the value of attribute story_fbid.



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

def story_fbid
  @story_fbid
end

#title ⇒ Object

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