Module: Embedly

Defined in:
lib/embedly.rb,
lib/embedly/oembed.rb,
lib/embedly/version.rb,
lib/embedly/configuration.rb

Defined Under Namespace

Classes: Configuration, MissingKeyError, Oembed

Constant Summary collapse

API_URL =
'http://api.embed.ly'
VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.configurationObject



10
11
12
# File 'lib/embedly.rb', line 10

def configuration
  @configuration ||= Embedly::Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



14
15
16
# File 'lib/embedly.rb', line 14

def configure
  yield configuration
end