Method: Mooncell::Configuration#protocol
- Defined in:
- lib/mooncell/configuration.rb
#protocol(name = nil) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Set or get application protocol
22 23 24 25 26 27 |
# File 'lib/mooncell/configuration.rb', line 22 def protocol(name = nil) # TODO: Support multiple protocol each server return settings[:protocol] if name.nil? settings[:protocol] = name.to_s end |