Sha256: b06fbdb49017bd2b5436a6a997a507ab2ed567ac0ab93bdece5ee0f0ef890ca4

Contents?: true

Size: 305 Bytes

Versions: 12

Compression:

Stored size: 305 Bytes

Contents

module Finix
  class Dispute
    include Finix::Resource
    include Finix::HypermediaRegistry

    define_hypermedia_types [:disputes]

    def upload_evidence(evidence_file_path)
      self.evidence.create :file => Faraday::UploadIO.new(evidence_file_path, 'application/octet-stream')
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
finix-1.0.1 lib/finix/resources/dispute.rb
finix-1.0.0 lib/finix/resources/dispute.rb
finix-0.16 lib/finix/resources/dispute.rb
finix-0.15 lib/finix/resources/dispute.rb
finix-0.14 lib/finix/resources/dispute.rb
finix-0.13 lib/finix/resources/dispute.rb
finix-0.12 lib/finix/resources/dispute.rb
finix-0.11 lib/finix/resources/dispute.rb
finix-0.10 lib/finix/resources/dispute.rb
finix-0.9 lib/finix/resources/dispute.rb
finix-0.8 lib/finix/resources/dispute.rb
finix-0.7 lib/finix/resources/dispute.rb