class Weather::Image

Attributes

url[R]

the full URL to the image

Public Class Methods

new(payload) click to toggle source
# File lib/weather-api/image.rb, line 6
def initialize(payload)
  @url = payload.scan(/src=\"(.*)\"/).flatten.first
end