From 26280d47b23e4a38578c499a23f1407397cf19d7 Mon Sep 17 00:00:00 2001 From: Ryan Guest <488119+ryanguest@users.noreply.github.com> Date: Wed, 21 Aug 2019 21:41:37 -0700 Subject: [PATCH] Fix a couple typos (#590) --- lib/restclient.rb | 2 +- lib/restclient/raw_response.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/restclient.rb b/lib/restclient.rb index d4c455e..ede9eea 100644 --- a/lib/restclient.rb +++ b/lib/restclient.rb @@ -39,7 +39,7 @@ require File.dirname(__FILE__) + '/restclient/windows' # # DELETE # RestClient.delete 'http://example.com/resource' # -# # retreive the response http code and headers +# # retrieve the response http code and headers # res = RestClient.get 'http://example.com/some.jpg' # res.code # => 200 # res.headers[:content_type] # => 'image/jpg' diff --git a/lib/restclient/raw_response.rb b/lib/restclient/raw_response.rb index 508eb4f..a8db08d 100644 --- a/lib/restclient/raw_response.rb +++ b/lib/restclient/raw_response.rb @@ -1,7 +1,7 @@ module RestClient # The response from RestClient on a raw request looks like a string, but is # actually one of these. 99% of the time you're making a rest call all you - # care about is the body, but on the occassion you want to fetch the + # care about is the body, but on the occasion you want to fetch the # headers you can: # # RestClient.get('http://example.com').headers[:content_type]