class TonSdk::Net::OrderBy
Constants
- SORT_DIRECTION_VALUES
Attributes
direction[R]
path[R]
Public Class Methods
new(path:, direction:)
click to toggle source
# File lib/ton_sdk_client/net.rb, line 30 def initialize(path:, direction:) @path = path unless SORT_DIRECTION_VALUES.include?(direction) raise ArgumentError.new("direction #{direction} doesn't exist; existing values: #{SORT_DIRECTION_VALUES}") end @direction = direction end