module ImagizerEngine
Constants
- VERSION
Attributes
host[RW]
use_ssl[RW]
Public Instance Methods
[](name)
click to toggle source
# File lib/imagizer_engine.rb, line 24 def [](name) definitions[name.to_sym] end
configure(&block)
click to toggle source
# File lib/imagizer_engine.rb, line 12 def configure(&block) instance_eval(&block) end
definitions()
click to toggle source
# File lib/imagizer_engine.rb, line 16 def definitions @definitions ||= Hash.new end
version(name, options={})
click to toggle source
# File lib/imagizer_engine.rb, line 20 def version(name, options={}) definitions[name.to_sym] = Version.new(name, options) end