Sha256: 30214275e672ee8752dcdc807fa9e298221be83cefd5369246496a8986ed76ad
Contents?: true
Size: 445 Bytes
Versions: 5
Compression:
Stored size: 445 Bytes
Contents
require "ya/api/direct/constants" require "ya/api/direct/direct_service_base" module Ya::API::Direct class DirectServiceV4 < DirectServiceBase def initialize(client, methods_data, version = :v4) super(client, methods_data) @version = version end def exec_request(method, request_body = {}) @client.gateway.request method, request_body, nil, (API_V4_LIVE.include?(method) ? :v4live : @version) end end end
Version data entries
5 entries across 5 versions & 1 rubygems