Object
# File lib/grape/namespace.rb, line 15 def self.joined_space(settings) settings.gather(:namespace).map(&:space).join("/") end
# File lib/grape/namespace.rb, line 19 def self.joined_space_path(settings) Rack::Mount::Utils.normalize_path(joined_space(settings)) end
options:
requirements: a hash
# File lib/grape/namespace.rb, line 7 def initialize(space, options = {}) @space, @options = space.to_s, options end
# File lib/grape/namespace.rb, line 11 def requirements options[:requirements] || {} end
[Validate]
Generated with the Darkfish Rdoc Generator 2.