rotten_tomatoes 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rotten_tomatoes/client.rb +6 -5
- data/lib/rotten_tomatoes/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bb3b9cb8f9522e4672ddecf7ea1764d6be7b41e
|
|
4
|
+
data.tar.gz: 0363ffec2247bb442be4be02a7f832688ee4a262
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1365785eb47c48f46f60832e5038149479086e2b267e9c3b2e4dc322bfb62a3353a2688dd3d00ba9ee2daded2ed5f9a5f47602da0af3ec8d27850fbd58209299
|
|
7
|
+
data.tar.gz: ddd91c2f9ee01f4eb3839a175ffafdcbbda044ff609e69a5f0a9f918d1c905f0bdf5f9a576e035fe98206241da2ecd789aebfcf1f10c5dc7623adef71fd9fd05
|
|
@@ -27,8 +27,8 @@ module RottenTomatoes
|
|
|
27
27
|
self
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
# == Argument Hash
|
|
31
|
-
# The argument_hash method is used to generate the hash which will be URL encoded when making the next request with the Rotten Tomatoes API.
|
|
30
|
+
# == Argument Hash (Private Method)
|
|
31
|
+
# Internal method, not for use by third-party developers. The argument_hash method is used to generate the hash which will be URL encoded when making the next request with the Rotten Tomatoes API.
|
|
32
32
|
#
|
|
33
33
|
# == Parameters
|
|
34
34
|
#
|
|
@@ -52,10 +52,10 @@ module RottenTomatoes
|
|
|
52
52
|
end
|
|
53
53
|
end
|
|
54
54
|
end
|
|
55
|
+
private :argument_hash
|
|
55
56
|
|
|
56
|
-
# == Request
|
|
57
|
-
# The request method is used to send the get request to the API
|
|
58
|
-
# and then will return the parsed body as a hash.
|
|
57
|
+
# == Request (Private Method)
|
|
58
|
+
# Internal method, not for use by third-party developers. The request method is used to send the get request to the API and then will return the parsed body as a hash.
|
|
59
59
|
#
|
|
60
60
|
# == Parameters
|
|
61
61
|
#
|
|
@@ -75,6 +75,7 @@ module RottenTomatoes
|
|
|
75
75
|
args[:symbols] || []))
|
|
76
76
|
JSON.parse(response.body)
|
|
77
77
|
end
|
|
78
|
+
private :request
|
|
78
79
|
|
|
79
80
|
# == Movies Search
|
|
80
81
|
# The movies_search method is used to do plain text searches allowing you to find your favorite movies.
|