Module: Maestrano::API::Operation::Create::ClassMethods
- Defined in:
- lib/maestrano/api/operation/create.rb
Instance Method Summary collapse
Instance Method Details
#create(params = {}, api_token = nil) ⇒ Object
6 7 8 9 |
# File 'lib/maestrano/api/operation/create.rb', line 6 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 |