Module: Embedly

Defined in:
lib/embedly.rb,
lib/embedly/command_line.rb,
lib/embedly/request/base.rb,
lib/embedly/request/net_http.rb

Defined Under Namespace

Modules: NetHTTP, Request Classes: API, BadResponseException, CommandLine, Configuration, EmbedlyObject

Constant Summary

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