module Octobat::APIOperations::Create::ClassMethods

Public Instance Methods

create(params={}, opts={}) click to toggle source
# File lib/octobat/api_operations/create.rb, line 5
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