From 8a78fce18083954e38dafe1cf8766427d9e38f0c Mon Sep 17 00:00:00 2001 From: Kanezoh Date: Sun, 10 Oct 2021 08:23:58 +0900 Subject: [PATCH] format code --- src/mechanize.cr | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mechanize.cr b/src/mechanize.cr index 5d70bf5..c8ecbee 100644 --- a/src/mechanize.cr +++ b/src/mechanize.cr @@ -6,7 +6,7 @@ require "./mechanize/errors/*" # This class is main class of Mechanize.cr, # using this class' instance to start web interaction. -# +# # now only supports GET, POST. other HTTP methods will be implemented soon... # # Examples: @@ -15,16 +15,16 @@ require "./mechanize/errors/*" # # GET # agent = Mechanize.new # agent.get("http://example.com", -# params: {"foo" => "bar"}, -# headers: HTTP::Headers{"Foo" => "Bar"}) +# params: {"foo" => "bar"}, +# headers: HTTP::Headers{"Foo" => "Bar"}) # ``` -# +# # ``` # # POST # # sending post request whose post body is "foo=bar" # agent = Mechanize.new # agent.post("http://example.com", -# query: {"foo" => "bar"}) +# query: {"foo" => "bar"}) # ``` class Mechanize VERSION = "0.2.0"