Sha256: 8fa94cbee898fd164579ee6d5f899b796d9ed4865c14be31728ccd2feae67bf4
Contents?: true
Size: 324 Bytes
Versions: 2
Compression:
Stored size: 324 Bytes
Contents
module Runcible module Resources class Unit < Runcible::Base def self.path(type) "content/units/#{type}/search/" end def self.search(type, criteria, optional={}) call(:post, path(type), :payload=>{:required=>{:criteria=>criteria}, :optional=>optional}) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
runcible-0.1.4 | lib/runcible/resources/unit.rb |
runcible-0.1.3 | lib/runcible/resources/unit.rb |