Class: JxClient::GetDocumentResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/jx_client/get_document_result.rb

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetDocumentResult

Returns a new instance of GetDocumentResult.



20
21
22
# File 'lib/jx_client/get_document_result.rb', line 20

def initialize(**args)
  super(**args.slice(*GET_DOCUMENT_PROPERTIES))
end

Instance Method Details

#decoded_dataString

decoded data

Returns:

  • (String)


26
27
28
# File 'lib/jx_client/get_document_result.rb', line 26

def decoded_data
  @decoded_data ||= Base64.decode64(data)
end