Class: UU::BinaryStore::UUBinaryData
- Inherits:
-
Object
- Object
- UU::BinaryStore::UUBinaryData
- Defined in:
- lib/uu_binarystore/binary_store/uu_binary_data.rb
Overview
Class representing binary Data
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#read ⇒ Object
Download data from Binarystore.
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data
8 9 10 |
# File 'lib/uu_binarystore/binary_store/uu_binary_data.rb', line 8 def data @data end |
Instance Method Details
#read ⇒ Object
Download data from Binarystore
50 51 52 53 54 55 56 |
# File 'lib/uu_binarystore/binary_store/uu_binary_data.rb', line 50 def read cmd = UU::OS::CMD::CommandClient.new("uu-binarystore-data", @session, :request_timeout => 0) params = {} params[:token] = @token if @token result = cmd.invoke('BinaryStore/getBinaryData', @uri, parameters: params) result.content.read end |