Class: Petfinder::Pet::Photo
- Inherits:
-
Object
- Object
- Petfinder::Pet::Photo
- Defined in:
- lib/petfinder/pet.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#large ⇒ Object
Returns the value of attribute large.
-
#medium ⇒ Object
Returns the value of attribute medium.
-
#small ⇒ Object
Returns the value of attribute small.
-
#thumbnail ⇒ Object
Returns the value of attribute thumbnail.
-
#tiny ⇒ Object
Returns the value of attribute tiny.
Instance Method Summary collapse
-
#initialize(id) ⇒ Photo
constructor
A new instance of Photo.
Constructor Details
#initialize(id) ⇒ Photo
Returns a new instance of Photo.
66 67 68 |
# File 'lib/petfinder/pet.rb', line 66 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
64 65 66 |
# File 'lib/petfinder/pet.rb', line 64 def id @id end |
#large ⇒ Object
Returns the value of attribute large.
64 65 66 |
# File 'lib/petfinder/pet.rb', line 64 def large @large end |
#medium ⇒ Object
Returns the value of attribute medium.
64 65 66 |
# File 'lib/petfinder/pet.rb', line 64 def medium @medium end |
#small ⇒ Object
Returns the value of attribute small.
64 65 66 |
# File 'lib/petfinder/pet.rb', line 64 def small @small end |
#thumbnail ⇒ Object
Returns the value of attribute thumbnail.
64 65 66 |
# File 'lib/petfinder/pet.rb', line 64 def thumbnail @thumbnail end |
#tiny ⇒ Object
Returns the value of attribute tiny.
64 65 66 |
# File 'lib/petfinder/pet.rb', line 64 def tiny @tiny end |