lib/onebox/mixins/twitch_onebox.rb in onebox-2.2.12 vs lib/onebox/mixins/twitch_onebox.rb in onebox-2.2.13
- old
+ new
@@ -1,10 +1,9 @@
# frozen_string_literal: true
module Onebox
module Mixins
module TwitchOnebox
-
def self.included(klass)
klass.include(Onebox::Engine)
klass.matches_regexp(klass.twitch_regexp)
klass.requires_iframe_origins "https://player.twitch.tv"
klass.include(InstanceMethods)