module Maestrano module API module Operation module Create module ClassMethods def create(params={}, api_key=nil) response, api_key = Maestrano::API::Operation::Base.request(:post, self.url, api_key, params) Util.convert_to_maestrano_object(response, api_key) end end def self.included(base) base.extend(ClassMethods) end end end end end