Created
October 25, 2019 21:34
-
-
Save breim/cbb502471b0c71fd2147e35c72c8b696 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
module ProviderHelper | |
def method_missing(method, *args, &block) | |
"" | |
end | |
def xxx | |
case provider | |
when 'instagram' | |
extend InstagramProviderHelper | |
when 'youtube' | |
extend YoutubeProviderHelper | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment