Class: Carrier::Configuration::Routes

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/carrier/configuration/routes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#prefix_for_messagesObject



9
10
11
# File 'lib/carrier/configuration/routes.rb', line 9

def prefix_for_messages
  @prefix_for_messages || "/messages"
end

Instance Method Details

#reset_to_defaults!Object



13
14
15
# File 'lib/carrier/configuration/routes.rb', line 13

def reset_to_defaults!
  @prefix_for_messages = nil
end