Class: Petfinder::Pet::Photo

Inherits:
Object
  • Object
show all
Defined in:
lib/petfinder/pet.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject

Returns the value of attribute id.



64
65
66
# File 'lib/petfinder/pet.rb', line 64

def id
  @id
end

#largeObject

Returns the value of attribute large.



64
65
66
# File 'lib/petfinder/pet.rb', line 64

def large
  @large
end

#mediumObject

Returns the value of attribute medium.



64
65
66
# File 'lib/petfinder/pet.rb', line 64

def medium
  @medium
end

#smallObject

Returns the value of attribute small.



64
65
66
# File 'lib/petfinder/pet.rb', line 64

def small
  @small
end

#thumbnailObject

Returns the value of attribute thumbnail.



64
65
66
# File 'lib/petfinder/pet.rb', line 64

def thumbnail
  @thumbnail
end

#tinyObject

Returns the value of attribute tiny.



64
65
66
# File 'lib/petfinder/pet.rb', line 64

def tiny
  @tiny
end