class Xooa::Response::QueryResponse

Attributes

payload[RW]

Public Class Methods

new(payload) click to toggle source

Initialize QueryResponse

@param payload payload received from the blockchain @return QueryResponse

# File lib/xooa/response/QueryResponse.rb, line 27
def initialize(payload)
  @payload = payload
end

Public Instance Methods

display() click to toggle source

display the details for the QueryResponse

# File lib/xooa/response/QueryResponse.rb, line 32
def display
  puts("Payload - #{@payload}")
end