Class: Tessa::Upload
- Inherits:
-
Object
- Object
- Tessa::Upload
- Extended by:
- ResponseFactory
- Defined in:
- lib/tessa/upload.rb
Class Method Summary collapse
Methods included from ResponseFactory
Class Method Details
.create(connection: Tessa.config.connection, strategy: Tessa.config.strategy, **options) ⇒ Object
10 11 12 13 14 |
# File 'lib/tessa/upload.rb', line 10 def self.create(connection: Tessa.config.connection, strategy: Tessa.config.strategy, **) new_from_response connection.post('/uploads', .merge(strategy: strategy)) end |