Module: Nanopop
- Defined in:
- lib/nanopop.rb,
lib/nanopop/version.rb
Defined Under Namespace
Classes: Configuration, Picture, UndefinedToken
Constant Summary collapse
- API_URL =
"http://nanopopapi.cloudapp.net/"
- ASSETS_URL =
"https://nanopopapi.blob.core.windows.net"
- VERSION =
"0.1.1"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
12 13 14 |
# File 'lib/nanopop.rb', line 12 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
15 16 17 18 |
# File 'lib/nanopop.rb', line 15 def self.configure self.configuration ||= Configuration.new yield(configuration) end |