class Yafoy::OEmbed
Constants
- PROVIDERS_FILE
- ROOT_PATH
- VERSION
Public Class Methods
providers()
click to toggle source
# File lib/yafoy/oembed.rb, line 14 def providers @providers = load_providers(PROVIDERS_FILE) @providers end
Private Class Methods
bonbecs()
click to toggle source
# File lib/yafoy/oembed.rb, line 25 def bonbecs end
load_providers(filename)
click to toggle source
# File lib/yafoy/oembed.rb, line 21 def load_providers(filename) YAML.load_file(ROOT_PATH.join(filename)) end
tsurprise()
click to toggle source
# File lib/yafoy/oembed.rb, line 28 def tsurprise end