ogle 0.0.2 → 0.0.3
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.
- data/README.md +3 -7
- data/lib/ogle/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -25,18 +25,14 @@ Depending on the call you make, glance will sometimes return JSON and others XML
|
|
25
25
|
# This will give a list of all the images
|
26
26
|
response = CONNECTION.resource.all
|
27
27
|
puts response
|
28
|
-
puts response.body
|
29
|
-
puts response.code
|
30
28
|
|
31
29
|
# This will give a detailed list of all the images
|
32
30
|
response = CONNECTION.resource true
|
33
31
|
puts response
|
34
|
-
puts response.body
|
35
|
-
puts response.code
|
36
32
|
|
37
|
-
# This will return
|
38
|
-
response = CONNECTION.resource 6
|
39
|
-
puts response
|
33
|
+
# This will return headers for a specific image as a hash
|
34
|
+
response = CONNECTION.resource.find 6
|
35
|
+
puts response
|
40
36
|
|
41
37
|
## Compatability
|
42
38
|
|
data/lib/ogle/version.rb
CHANGED