Class: Inttegro::Resources::FileReferences

Inherits:
Object
  • Object
show all
Defined in:
lib/inttegro/resources/file_references.rb

Instance Method Summary collapse

Constructor Details

#initialize(http) ⇒ FileReferences

Returns a new instance of FileReferences.



7
8
9
# File 'lib/inttegro/resources/file_references.rb', line 7

def initialize(http)
  @http = T.let(http, Inttegro::HTTPClient)
end

Instance Method Details

#reconcile(payload) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/inttegro/resources/file_references.rb', line 11

def reconcile(payload)
  @http.post_model(
    "/file_references/reconcile",
    Inttegro::FileReferenceReconciliation,
    payload
  )
end