Sha256: 58bb4f6088d490617d9389770da6c526c93affd9586788a6b73ad3b9142cb4ba
Contents?: true
Size: 309 Bytes
Versions: 4
Compression:
Stored size: 309 Bytes
Contents
module DiscountNetwork class Search def self.create(search_params) DiscountNetwork.post_resource( "searches", search: search_params ) end def self.find(search_id) DiscountNetwork.get_resource( ["searches", search_id].join("/") ).search end end end
Version data entries
4 entries across 4 versions & 1 rubygems