Module: Embedly

Defined in:
lib/embedly.rb,
lib/embedly/command_line.rb

Defined Under Namespace

Classes: API, BadResponseException, CommandLine, Configuration, EmbedlyObject

Constant Summary collapse

VERSION =
File.read(File.expand_path('../../VERSION', __FILE__)).strip

Class Method Summary collapse

Class Method Details

.configurationObject



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

def configuration
  @configuration ||= Configuration.new
end

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

Yields:



5
6
7
# File 'lib/embedly.rb', line 5

def configure
  yield configuration
end