Module: Rack::Gyazo
- Defined in:
- lib/rack/gyazo.rb,
lib/rack/gyazo/version.rb,
lib/rack/gyazo/application.rb,
lib/rack/gyazo/configuration.rb
Defined Under Namespace
Classes: Application, Configuration
Constant Summary collapse
- VERSION =
"0.1.2"
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
8 9 10 |
# File 'lib/rack/gyazo.rb', line 8 def configuration (@configuration || configure_with({})) end |
.configure_with(hash) ⇒ Object
4 5 6 |
# File 'lib/rack/gyazo.rb', line 4 def configure_with(hash) @configuration = Rack::Gyazo::Configuration.new(hash) end |