Class: Facebooker::Photo
- Inherits:
-
Object
- Object
- Facebooker::Photo
- Includes:
- Model
- Defined in:
- lib/facebooker/models/photo.rb
Instance Attribute Summary (collapse)
-
- (Object) aid
Returns the value of attribute aid.
-
- (Object) caption
Returns the value of attribute caption.
-
- (Object) created
Returns the value of attribute created.
-
- (Object) link
Returns the value of attribute link.
-
- (Object) owner
Returns the value of attribute owner.
-
- (Object) src
Returns the value of attribute src.
-
- (Object) src_big
Returns the value of attribute src_big.
-
- (Object) src_small
Returns the value of attribute src_small.
-
- (Object) story_fbid
Returns the value of attribute story_fbid.
-
- (Object) title
Returns the value of attribute title.
Instance Method Summary (collapse)
-
- (Object) pid=(val)
(also: #id=)
override the generated method for id_is to use a string.
Methods included from Model
#anon=, included, #initialize, #populate, #populate_from_hash!, #populated?, #session
Instance Attribute Details
- (Object) aid
Returns the value of attribute aid
5 6 7 |
# File 'lib/facebooker/models/photo.rb', line 5 def aid @aid end |
- (Object) caption
Returns the value of attribute caption
5 6 7 |
# File 'lib/facebooker/models/photo.rb', line 5 def caption @caption end |
- (Object) created
Returns the value of attribute created
5 6 7 |
# File 'lib/facebooker/models/photo.rb', line 5 def created @created end |
- (Object) link
Returns the value of attribute link
5 6 7 |
# File 'lib/facebooker/models/photo.rb', line 5 def link @link end |
- (Object) owner
Returns the value of attribute owner
5 6 7 |
# File 'lib/facebooker/models/photo.rb', line 5 def owner @owner end |
- (Object) src
Returns the value of attribute src
5 6 7 |
# File 'lib/facebooker/models/photo.rb', line 5 def src @src end |
- (Object) src_big
Returns the value of attribute src_big
5 6 7 |
# File 'lib/facebooker/models/photo.rb', line 5 def src_big @src_big end |
- (Object) src_small
Returns the value of attribute src_small
5 6 7 |
# File 'lib/facebooker/models/photo.rb', line 5 def src_small @src_small end |
- (Object) story_fbid
Returns the value of attribute story_fbid
5 6 7 |
# File 'lib/facebooker/models/photo.rb', line 5 def story_fbid @story_fbid end |
- (Object) title
Returns the value of attribute title
5 6 7 |
# File 'lib/facebooker/models/photo.rb', line 5 def title @title end |
Instance Method Details
- (Object) pid=(val) 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 |