Sha256: 1bf5c86766c26183ca499fb22f6796e5492769370bae18986b7642742d46f542
Contents?: true
Size: 297 Bytes
Versions: 1
Compression:
Stored size: 297 Bytes
Contents
module Twitch class Stream attr_reader :id, :user_id, :game_id, :community_ids, :type, :title, :viewer_count, :started_at, :language, :thumbnail_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.1 | lib/twitch/stream.rb |