module Catalogcat class Client < Footrest::Client module Certificates def listing_certificate(listing_id, params = {}) get("/api/v1/certificates?certificate[listing_id]=#{listing_id}", params) end def create_certificate(params = {}) post('/api/v1/certificates', params) end def list_completed_certificates(params = {}) get("/api/v1/completed_certificates", params) end end end end