Sha256: eba343e9661f4f6523dd1df2f6740174196be204a3e2eff9d8a4ad363aae94cb

Contents?: true

Size: 320 Bytes

Versions: 4

Compression:

Stored size: 320 Bytes

Contents

# Contains the attribution values.
module Yummly
  class Attribution

    attr_reader :html,
                :url,
                :text,
                :logo

    def initialize(values)
      @html = values["html"]
      @url = values["url"]
      @text = values["text"]
      @logo = values["logo"]
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yummly-0.0.13 lib/yummly/attribution.rb
yummly-0.0.12 lib/yummly/attribution.rb
yummly-0.0.11 lib/yummly/attribution.rb
yummly-0.0.10 lib/yummly/attribution.rb