Class: Flickr::Photo::Size

Inherits:
Struct
  • Object
show all
Defined in:
lib/flickr-wrapper/photo.rb

Instance Attribute Summary collapse

Instance Attribute Details

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



2
3
4
# File 'lib/flickr-wrapper/photo.rb', line 2

def height
  @height
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



2
3
4
# File 'lib/flickr-wrapper/photo.rb', line 2

def source
  @source
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



2
3
4
# File 'lib/flickr-wrapper/photo.rb', line 2

def url
  @url
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



2
3
4
# File 'lib/flickr-wrapper/photo.rb', line 2

def width
  @width
end