oald_parser 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,8 @@ module OaldParser
9
9
 
10
10
  def download(word)
11
11
  url = URI.parse(@url)
12
- Net::HTTP.post_form(url, search_word: word)
12
+ response = Net::HTTP.post_form(url, search_word: word)
13
+ response.body
13
14
  rescue
14
15
  nil
15
16
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Victor Savkin