Class: Replicate::Record::Upload

Inherits:
Base
  • Object
show all
Defined in:
lib/replicate/record/upload.rb

Instance Attribute Summary

Attributes inherited from Base

#client, #data

Instance Method Summary collapse

Methods inherited from Base

#initialize, #inspect, #method_missing

Constructor Details

This class inherits a constructor from Replicate::Record::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Replicate::Record::Base

Instance Method Details

#attach(path) ⇒ Object



6
7
8
# File 'lib/replicate/record/upload.rb', line 6

def attach(path)
  client.update_upload(upload_url, path)
end