class TonSdk::Net::ParamsOfQueryOperation

Attributes

params[R]
type_[R]

Public Class Methods

new_with_type_aggregate_collection(params) click to toggle source
# File lib/ton_sdk_client/net.rb, line 103
def self.new_with_type_aggregate_collection(params)
  @type_ = :aggregate_collection
  @params = params
end
new_with_type_query_collection(params) click to toggle source
# File lib/ton_sdk_client/net.rb, line 93
def self.new_with_type_query_collection(params)
  @type_ = :query_collection
  @params = params
end
new_with_type_query_counterparties(params) click to toggle source
# File lib/ton_sdk_client/net.rb, line 108
def self.new_with_type_query_counterparties(params)
  @type_ = :query_counterparties
  @params = params
end
new_with_type_wait_for_collection(params) click to toggle source
# File lib/ton_sdk_client/net.rb, line 98
def self.new_with_type_wait_for_collection(params)
  @type_ = :wait_for_collection
  @params = params
end

Public Instance Methods

to_h() click to toggle source
# File lib/ton_sdk_client/net.rb, line 113
def to_h
  tp = {
    type: Helper.sym_to_capitalized_case_str(@type_)
  }

  param_keys = @params.to_h
  tp.merge(param_keys)
end