lib/finix/resources/dispute.rb in finix-0.6 vs lib/finix/resources/dispute.rb in finix-0.7

- old
+ new

@@ -4,11 +4,9 @@ include Finix::HypermediaRegistry define_hypermedia_types [:disputes] def upload_evidence(evidence_file_path) - # self.evidence.file = Faraday::UploadIO.new(evidence_file_path, 'application/octet-stream') - # self.evidence.file = Faraday::UploadIO.new(evidence_file_path, 'application/octet-stream') self.evidence.create :file => Faraday::UploadIO.new(evidence_file_path, 'application/octet-stream') end end end