Module: Eastwood::Config::ClassMethods
- Defined in:
- lib/eastwood/config.rb
Instance Method Summary collapse
Instance Method Details
#hash(name, route) ⇒ Object
11 12 13 |
# File 'lib/eastwood/config.rb', line 11 def hash( name, route ) hashes[ name ] = route end |
#hashes ⇒ Object
15 16 17 |
# File 'lib/eastwood/config.rb', line 15 def hashes @@hashes ||= Hash.new end |
#reset! ⇒ Object
21 22 23 |
# File 'lib/eastwood/config.rb', line 21 def reset! @@default_route_format = :json end |