searchbing 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/searchbing.rb +1 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OWQ3ODk5NjViNmMzOTQzMTQ3N2UyOTA5MjNjNDUxZDljYmYzYzYzOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTJiNTZjN2JkNTdiMDc0NWE0MzRiM2U4ZjkyYzlmMmNlYTIxMDg3Zg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWM5MjY3MmI4ZGFhNWE0M2FlMTdkMTIyN2JkYzNkNWM4YTlhYWY0ZTM3NTU0
|
10
|
+
NGQ0NWNhODQxOTA1MDA3YmM0YjRhNjU4MTQ5NDhhOGYwYzM2MzhmMGM4ZTlh
|
11
|
+
MjBkODM0MzhkYjVmODQwN2E5NGU3MzBmZjM4NzBkNDA5ZTZlNGU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjJiNzViYTE2ZTNlZTYwYmY3MmM0NTFkNDViNWU1ZGJmNzZmYTZmMzlmNDhk
|
14
|
+
NjA3MTg4YmUxNjMyYTMzN2NmNTdmYzA5Yzk1MTNjMDVhMTBiODE2OWQ5ODJh
|
15
|
+
NTQ1YTgxMjcyNTJlZGZkZDkyMDgzNzMwMGU1NjI1OTZhNDY5NzQ=
|
data/lib/searchbing.rb
CHANGED
@@ -49,8 +49,4 @@ class Bing
|
|
49
49
|
body = JSON.parse(res.body)
|
50
50
|
result_set = body["d"]["results"]
|
51
51
|
end
|
52
|
-
end
|
53
|
-
|
54
|
-
animals = Bing.new('MM6OD0qjozdOWWvspc0j4DRkn4JEBM0A/cEQFHDKTYo', 10, 'Image')
|
55
|
-
bing_results = animals.search("lion")
|
56
|
-
puts bing_results[0]["MediaUrl"]
|
52
|
+
end
|