Sha256: 8834f5673b99846664d66ad7fa0957cddac319751573340a3420457b0e681b39
Contents?: true
Size: 443 Bytes
Versions: 3
Compression:
Stored size: 443 Bytes
Contents
# The image that should be displayed along with the recipe if images are available. Comes in 3 different sizes. class Yummly::Image # small (90×60) attr_accessor :small_url # medium (180×120) attr_accessor :medium_url # large (360×240) attr_accessor :large_url def initialize(values) @large_url = values["hostedLargeUrl"] @medium_url = values["hostedMediumUrl"] @small_url = values["hostedSmallUrl"] end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yummly-0.0.3 | lib/yummly/image.rb |
yummly-0.0.2 | lib/yummly/image.rb |
yummly-0.0.1 | lib/yummly/image.rb |