bin/swivel in swivel-0.0.96 vs bin/swivel in swivel-0.0.102
- old
+ new
@@ -72,10 +72,10 @@
response = @swivel.call "/#{resource}", options
end
def upload name, options = Hash.new
filename = options[:filename]
- data_set = @swivel.upload :original_asset_name => filename,
+ data_set = @swivel.upload! :original_asset_name => filename,
:original_asset_path => filename,
:auto_estimate => true,
:data => read(filename),
:name => name,
:citation => $0,