Sha256: c68481e6cb0c9580d943fd4a79e1e8deff545af42c2ee7d6e4a6af3f57c3bdc2
Contents?: true
Size: 436 Bytes
Versions: 38
Compression:
Stored size: 436 Bytes
Contents
module Octobat module APIOperations module Create module ClassMethods def create(params={}, opts={}) api_key, headers = Util.parse_opts(opts) response, api_key = Octobat.request(:post, self.url, api_key, params, headers) Util.convert_to_octobat_object(response, api_key) end end def self.included(base) base.extend(ClassMethods) end end end end
Version data entries
38 entries across 38 versions & 1 rubygems