Class: PreventGo::ProviderInvoice

Inherits:
Base
  • Object
show all
Defined in:
lib/prevent_go/provider_invoice.rb

Instance Attribute Summary

Attributes inherited from Base

#params, #request

Instance Method Summary collapse

Methods inherited from Base

#document_controls, #document_details, #document_type, #initialize, #quality_validated?

Constructor Details

This class inherits a constructor from PreventGo::Base

Instance Method Details

#endpointObject



8
9
10
# File 'lib/prevent_go/provider_invoice.rb', line 8

def endpoint
  '/provider-invoice'
end

#holder_controlsObject



12
13
14
# File 'lib/prevent_go/provider_invoice.rb', line 12

def holder_controls
  @_holder_controls ||= @request.dig('controlsGroups', 'holder') || {}
end