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.



74
75
76
# File 'lib/petfinder/pet.rb', line 74

def initialize(id)
  @id = id
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



72
73
74
# File 'lib/petfinder/pet.rb', line 72

def id
  @id
end

#largeObject

Returns the value of attribute large.



72
73
74
# File 'lib/petfinder/pet.rb', line 72

def large
  @large
end

#mediumObject

Returns the value of attribute medium.



72
73
74
# File 'lib/petfinder/pet.rb', line 72

def medium
  @medium
end

#smallObject

Returns the value of attribute small.



72
73
74
# File 'lib/petfinder/pet.rb', line 72

def small
  @small
end

#thumbnailObject

Returns the value of attribute thumbnail.



72
73
74
# File 'lib/petfinder/pet.rb', line 72

def thumbnail
  @thumbnail
end

#tinyObject

Returns the value of attribute tiny.



72
73
74
# File 'lib/petfinder/pet.rb', line 72

def tiny
  @tiny
end