Method: NfseGyn::Response#output

Defined in:
lib/nfse_gyn/response.rb

#outputObject



44
45
46
47
# File 'lib/nfse_gyn/response.rb', line 44

def output
  response = @payload.body.try(:values).try(:first)
  @output ||= Nori.new.parse(response.try(:values).try(:first) || response)
end