Class: FlowClient::TransactionResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/flow_client/transaction.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id.



182
183
184
# File 'lib/flow_client/transaction.rb', line 182

def id
  @id
end

Class Method Details

.parse_grpc_type(type) ⇒ Object



184
185
186
187
188
# File 'lib/flow_client/transaction.rb', line 184

def self.parse_grpc_type(type)
  response = TransactionResponse.new
  response.id = type.id.unpack1("H*")
  response
end