Sha256: a01a462f303a27a3c3843c97e50ab41220130f03832b5e7bfe0b583c0b195f9f

Contents?: true

Size: 207 Bytes

Versions: 1

Compression:

Stored size: 207 Bytes

Contents

module Twitch
  class Game
    attr_reader :id, :name, :box_art_url

    def initialize(attributes = {})
      attributes.each do |k, v|
        instance_variable_set("@#{k}", v)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twitch-api-0.0.2 lib/twitch/game.rb