Class: Finix::Dispute
- Inherits:
-
Object
- Object
- Finix::Dispute
- Includes:
- HypermediaRegistry, Resource
- Defined in:
- lib/finix/resources/dispute.rb
Instance Attribute Summary
Attributes included from HalResource
Instance Method Summary collapse
Methods included from HypermediaRegistry
Methods included from Resource
#copy_from, #fetch, #hydrate, included, #initialize, #refresh, #sanitize, #save, #to_s
Methods included from HalResource
#load_page_from_response!, #method_missing
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Finix::HalResource
Instance Method Details
#upload_evidence(evidence_file_path) ⇒ Object
8 9 10 |
# File 'lib/finix/resources/dispute.rb', line 8 def upload_evidence(evidence_file_path) self.evidence.create :file => Faraday::UploadIO.new(evidence_file_path, 'application/octet-stream') end |