Module: Onebox::Mixins::TwitchOnebox

Included in:
Engine::TwitchClipsOnebox, Engine::TwitchStreamOnebox, Engine::TwitchVideoOnebox
Defined in:
lib/onebox/mixins/twitch_onebox.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object


5
6
7
8
9
# File 'lib/onebox/mixins/twitch_onebox.rb', line 5

def self.included(klass)
  klass.include(Onebox::Engine)
  klass.matches_regexp(klass.twitch_regexp)
  klass.include(InstanceMethods)
end