Class: Rack::Gyazo::Configuration
- Inherits:
-
Object
- Object
- Rack::Gyazo::Configuration
- Defined in:
- lib/rack/gyazo/configuration.rb
Instance Method Summary collapse
- #[](key) ⇒ Object
- #cname ⇒ Object
-
#initialize(options = {}) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(options = {}) ⇒ Configuration
Returns a new instance of Configuration.
4 5 6 |
# File 'lib/rack/gyazo/configuration.rb', line 4 def initialize( = {}) @configuration = end |
Instance Method Details
#[](key) ⇒ Object
8 9 10 |
# File 'lib/rack/gyazo/configuration.rb', line 8 def [](key) @configuration[key] end |
#cname ⇒ Object
12 13 14 |
# File 'lib/rack/gyazo/configuration.rb', line 12 def cname @configuration[:cname] end |