Creates a new object.
Creates a new object
Parameters:
The attributes of the created object
8 9 10 11 12
# File 'lib/copy/operations/create.rb', line 8 def create(attributes) session = attributes.delete(:session) response = Copy.request(:post, nil, api_collection_url(attributes), attributes, options_for_request(session: session)) self.new(response) end