class Doorkeeper::Rails::Routes::Mapper

:nodoc:

def as(alias_names = {})

def as(alias_names = {})
  @mapping.as.merge!(alias_names)
end

def controllers(controller_names = {})

def controllers(controller_names = {})
  @mapping.controllers.merge!(controller_names)
end

def initialize(mapping = Mapping.new)

def initialize(mapping = Mapping.new)
  @mapping = mapping
end

def map(&block)

def map(&block)
  instance_eval(&block) if block
  @mapping
end

def skip_controllers(*controller_names)

def skip_controllers(*controller_names)
  @mapping.skips = controller_names
end