Module: Url2PngDc

Includes:
HTTParty
Defined in:
lib/url2png_dc.rb,
lib/url2png/cache.rb,
lib/url2png/url_helper.rb,
lib/url2png/configuration.rb

Defined Under Namespace

Modules: UrlHelpers Classes: Cache, Configuration

Class Method Summary collapse

Class Method Details

.configurationObject



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

def configuration
  @_configuration ||= Configuration.new
end

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

Yields:



18
19
20
21
# File 'lib/url2png_dc.rb', line 18

def configure
  yield(configuration)
  configuration
end