lib/rack/api/runner.rb in rack-api-0.2.0 vs lib/rack/api/runner.rb in rack-api-0.2.1
- old
+ new
@@ -92,9 +92,11 @@
# * <tt>:host</tt> – Specifies the host the link should be targeted at.
# * <tt>:protocol</tt> – The protocol to connect to. Defaults to 'http'.
# * <tt>:port</tt> – Optionally specify the port to connect to.
# * <tt>:base_path</tt> – Optionally specify a base path.
#
+ # Some usage examples:
+ #
# default_url_options :host => "myhost.com"
# #=> http://myhost.com
#
# default_url_options :host => "myhost.com", :protocol => "https"
# #=> https://myhost.com