bossman 0.2.5 → 0.2.6
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 +4 -7
- data/lib/bossman/search.rb +1 -0
- metadata +1 -1
data/README.md
CHANGED
@@ -71,10 +71,6 @@ be submitted by using GitHub issues.
|
|
71
71
|
|
72
72
|
## Output Objects
|
73
73
|
|
74
|
-
Assuming an object bossed called search:
|
75
|
-
|
76
|
-
search = BOSSMan::Search.web("cobble hill", 0, 20)
|
77
|
-
|
78
74
|
### Common
|
79
75
|
|
80
76
|
- search.responsecode : HTTP response code
|
@@ -117,7 +113,7 @@ search = BOSSMan::Search.web("cobble hill", 0, 20)
|
|
117
113
|
- search.results[].refererurl : Link to page where image was found
|
118
114
|
- search.results[].title : Title of image (usually the filename)
|
119
115
|
- search.results[].width : Width of full-size image
|
120
|
-
- search.results[].thumbnail_url
|
116
|
+
- search.results[].thumbnail_url : URL of thumbnail image
|
121
117
|
- search.results[].thumbnail_height : Height of thumbnail image
|
122
118
|
- search.results[].thumbnail_width : Width of thumbnail image
|
123
119
|
|
@@ -138,8 +134,9 @@ Result sets can be dumped as JSON, XML and YAML by use of to_json, to_xml, to_ya
|
|
138
134
|
|
139
135
|
## Installation
|
140
136
|
|
141
|
-
jp@populuxe:~/code/ruby$ gem
|
142
|
-
jp@populuxe:~/code/ruby$ gem
|
137
|
+
jp@populuxe:~/code/ruby$ gem install gemcutter
|
138
|
+
jp@populuxe:~/code/ruby$ gem tumble
|
139
|
+
jp@populuxe:~/code/ruby$ gem install bossman
|
143
140
|
|
144
141
|
## Requirements
|
145
142
|
|
data/lib/bossman/search.rb
CHANGED