lib/jets/router/route.rb in jets-2.0.4 vs lib/jets/router/route.rb in jets-2.0.5

- old
+ new

@@ -185,10 +185,14 @@ def authorization_type @options[:authorization_type] end + def api_key_required + @options[:api_key_required] + end + private def ensure_jets_format(path) path.split('/').map do |s| if s =~ /^\{/ and s =~ /\+\}$/ s.sub(/^\{/, '*').sub(/\+\}$/,'') # {proxy+} => *proxy @@ -221,6 +225,6 @@ text = "{#{text}+}" end text end end -end \ No newline at end of file +end