lib/grape/namespace.rb in grape-0.11.0 vs lib/grape/namespace.rb in grape-0.12.0
- old
+ new
@@ -3,10 +3,11 @@
attr_reader :space, :options
# options:
# requirements: a hash
def initialize(space, options = {})
- @space, @options = space.to_s, options
+ @space = space.to_s
+ @options = options
end
def requirements
options[:requirements] || {}
end