Sha256: d7baf0c455a4a1a57e59ba9dab4e8e0f94cacb1abd16da95f88d7cc2e3a47cd8

Contents?: true

Size: 225 Bytes

Versions: 1

Compression:

Stored size: 225 Bytes

Contents

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

    def initialize(attributes = {})
      @id = attributes['id']
      @name = attributes['name']
      @box_art_url = attributes['name']
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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