Class: Pictaculous
- Inherits:
-
Object
- Object
- Pictaculous
- Defined in:
- lib/pictaculous.rb
Constant Summary collapse
- ENDPOINT =
'http://pictaculous.com/api/1.0/'
- VERSION =
"0.0.1"
Class Method Summary collapse
Class Method Details
.find(image_data) ⇒ Object
9 10 11 |
# File 'lib/pictaculous.rb', line 9 def self.find(image_data) Hashie::Mash.new(JSON.parse(Curl.post(ENDPOINT, {image: image_data}).body_str)) end |