Class: GetAccept::File
- Defined in:
- lib/get_accept/resources/file.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from GetAccept::Resource
Instance Method Details
#upload(data) ⇒ Object
3 4 5 |
# File 'lib/get_accept/resources/file.rb', line 3 def upload data post('/upload', data) end |