Module: BoffinIO::APIOperations::Create::ClassMethods

Defined in:
lib/boffinio/api_operations/create.rb

Instance Method Summary collapse

Instance Method Details

#create(params = {}, api_key = nil) ⇒ Object



5
6
7
8
# File 'lib/boffinio/api_operations/create.rb', line 5

def create(params={}, api_key=nil)
  response, api_key = BoffinIO.request(:post, self.url, api_key, params)
  Util.convert_to_boffinio_object(response, api_key)
end