Object
# File lib/grape/path.rb, line 27 def has_namespace? namespace && namespace.to_s =~ /^\S/ && namespace != '/' end
# File lib/grape/path.rb, line 31 def has_path? raw_path && raw_path.to_s =~ /^\S/ && raw_path != '/' end
# File lib/grape/path.rb, line 15 def mount_path split_setting(:mount_path, '/') end
# File lib/grape/path.rb, line 43 def path Rack::Mount::Utils.normalize_path(parts.join('/')) end
# File lib/grape/path.rb, line 47 def path_with_suffix "#{path}#{suffix}" end
# File lib/grape/path.rb, line 19 def root_prefix split_setting(:root_prefix, '/') end
Generated with the Darkfish Rdoc Generator 2.