Method: Ribose::FileUploader.upload
- Defined in:
- lib/ribose/file_uploader.rb
.upload(space_id, file:, **attributes) ⇒ Sawyer::Resource
Create a new upload
31 32 33 |
# File 'lib/ribose/file_uploader.rb', line 31 def self.upload(space_id, file:, **attributes) new(space_id, attributes.merge(file: file)).create end |