Sha256: 912adae833fdc2a234f9711e8dc18e420b7b39fdeea07f495370ef3e6f5698e1
Contents?: true
Size: 470 Bytes
Versions: 22
Compression:
Stored size: 470 Bytes
Contents
module Maestrano module API module Operation module Create module ClassMethods def create(params={}, api_token=nil) response, api_token = Maestrano::API::Operation::Base[self.preset].request(:post, self.url, api_token, params) Util.convert_to_maestrano_object(response, api_token) end end def self.included(base) base.extend(ClassMethods) end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems