dog_api_bindings 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 +4 -4
- data/lib/{dog-api.rb → dog-api-bindings.rb} +0 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46154241ee16fb14660415030fc74c0b6a72dfd2c8cd7129d15cc23f53046447
|
4
|
+
data.tar.gz: 10488366205e1a27225e14f47e57e26cefd2a68ef3b186a23655bde1785a1210
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 705a0981fb0f7643c48b2e278be970d79b79a09ce3f77df5953d74127398f25c79f8768fb02b12096b1915cd1343339e49cb5a444b0e392dcdfb9353e791e2b9
|
7
|
+
data.tar.gz: 4f4c7c5054c146df17102e909547c1d622a96ccd932b7c8256f5a6b149c2d053a1eb4816b3712d2631ff71d453137ed34295848fe03968852584155e80d1ea73
|
@@ -63,7 +63,6 @@ end
|
|
63
63
|
#
|
64
64
|
# Due to API limitations, it can only return an amount between 1 and 50.
|
65
65
|
def random_sub_breed_images(breed, sub_breed, amount)
|
66
|
-
|
67
66
|
if amount >= 1 && amount <= 50
|
68
67
|
response = HTTP.get("#{API_ENDPOINT}/breed/#{breed}/#{sub_breed}/images/random/#{amount}")
|
69
68
|
hashed_response = response.parse['message'] if response.code == 200
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dog_api_bindings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Quinton Oglesby
|
@@ -30,11 +30,12 @@ executables: []
|
|
30
30
|
extensions: []
|
31
31
|
extra_rdoc_files: []
|
32
32
|
files:
|
33
|
-
- lib/dog-api.rb
|
33
|
+
- lib/dog-api-bindings.rb
|
34
34
|
homepage: https://rubygems.org/gems/dog_api_bindings
|
35
35
|
licenses:
|
36
36
|
- MIT
|
37
|
-
metadata:
|
37
|
+
metadata:
|
38
|
+
source_code_uri: https://github.com/quinton-oglesby/dog-api-bindings.rb
|
38
39
|
post_install_message:
|
39
40
|
rdoc_options: []
|
40
41
|
require_paths:
|