Sha256: 4e3af76444cb6d1aef02f0a6281e076935ef9a5936624be68a06d47758af6f3f
Contents?: true
Size: 660 Bytes
Versions: 1
Compression:
Stored size: 660 Bytes
Contents
module Crefo class Service class Report class Response < Service::Response self.response_name = :report def result if report_not_available? false else document_body_hash end end private def error? return false unless document_fault_hash return false if report_not_available? true end def report_not_available? return false unless document_fault_hash 'ER-114' == document_fault_hash&.dig(:Detail, :servicefault, :body, :fault, :errorkey, :key) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
crefo-0.3.0 | lib/crefo/service/report/response.rb |