Class: Twitch::V2::Team
- Inherits:
-
Object
- Object
- Twitch::V2::Team
- Defined in:
- lib/kappa/team.rb
Overview
Teams are an organization of channels.
Instance Attribute Summary collapse
-
#background_url ⇒ String
readonly
URL for background image.
-
#banner_url ⇒ String
readonly
URL for banner image.
-
#created_at ⇒ Time
readonly
When the team was created (UTC).
-
#display_name ⇒ String
readonly
User-friendly display name.
-
#id ⇒ Fixnum
readonly
Unique Twitch ID.
-
#info ⇒ String
readonly
Info about the team.
-
#logo_url ⇒ String
readonly
URL for the logo image.
-
#name ⇒ String
readonly
Unique Twitch name.
-
#updated_at ⇒ Time
readonly
When the team was last updated (UTC).
-
#url ⇒ String
readonly
URL for the team's Twitch landing page.
Instance Attribute Details
#background_url ⇒ String (readonly)
Returns URL for background image.
42 43 44 |
# File 'lib/kappa/team.rb', line 42 def background_url @background_url end |
#banner_url ⇒ String (readonly)
Returns URL for banner image.
47 48 49 |
# File 'lib/kappa/team.rb', line 47 def @banner_url end |
#created_at ⇒ Time (readonly)
Returns When the team was created (UTC).
74 75 76 |
# File 'lib/kappa/team.rb', line 74 def created_at @created_at end |
#display_name ⇒ String (readonly)
Returns User-friendly display name. This name is used for the team's page title.
64 65 66 |
# File 'lib/kappa/team.rb', line 64 def display_name @display_name end |
#id ⇒ Fixnum (readonly)
Returns Unique Twitch ID.
32 33 34 |
# File 'lib/kappa/team.rb', line 32 def id @id end |
#info ⇒ String (readonly)
Returns Info about the team. This is displayed on the team's page and can contain HTML.
37 38 39 |
# File 'lib/kappa/team.rb', line 37 def info @info end |
#logo_url ⇒ String (readonly)
Returns URL for the logo image.
52 53 54 |
# File 'lib/kappa/team.rb', line 52 def logo_url @logo_url end |
#name ⇒ String (readonly)
Returns Unique Twitch name.
58 59 60 |
# File 'lib/kappa/team.rb', line 58 def name @name end |
#updated_at ⇒ Time (readonly)
Returns When the team was last updated (UTC).
69 70 71 |
# File 'lib/kappa/team.rb', line 69 def updated_at @updated_at end |
#url ⇒ String (readonly)
Returns URL for the team's Twitch landing page.
79 80 81 |
# File 'lib/kappa/team.rb', line 79 def url @url end |