Class: Crefo::Service::Report::Response

Inherits:
Crefo::Service::Response show all
Defined in:
lib/crefo/service/report/response.rb

Instance Attribute Summary

Attributes inherited from Crefo::Service::Response

#attachments, #body, #document_hash

Instance Method Summary collapse

Methods inherited from Crefo::Service::Response

#document_body_hash, #document_fault_hash, #document_reponse_hash, #initialize, #response_id, response_name, response_name=

Constructor Details

This class inherits a constructor from Crefo::Service::Response

Instance Method Details

#resultObject



7
8
9
10
11
12
13
# File 'lib/crefo/service/report/response.rb', line 7

def result
  if report_not_available?
    false
  else
    document_body_hash
  end
end