Project

General

Profile

Download (290 Bytes) Statistics
| Branch: | Tag: | Revision:
module Runcible
module Resources
class Unit < Runcible::Base

def self.path(type)
"content/units/#{type}/search/"
end

def self.search(type, criteria)
call(:post, path(type), :payload=>{:required=>{:criteria=>criteria}})
end
end

end
end
(7-7/8)