class FlickrOfflineGallery::PhotoSize
Attributes
height[R]
label[R]
url[R]
width[R]
Public Class Methods
new(flickraw_response)
click to toggle source
# File lib/flickr_offline_gallery/photo_size.rb, line 6 def initialize(flickraw_response) @label = flickraw_response.label @height = flickraw_response.height @width = flickraw_response.width @url = flickraw_response.source end
Public Instance Methods
key()
click to toggle source
# File lib/flickr_offline_gallery/photo_size.rb, line 13 def key label.downcase.gsub(" ", "_") end