Sha256: db6d08710fe1eff937d0a30cd9375246f2f46915f1b329bb46227388813feec1
Contents?: true
Size: 491 Bytes
Versions: 2
Compression:
Stored size: 491 Bytes
Contents
require "ya/api/direct/constants" require "ya/api/direct/direct_service_base" module Ya::API::Direct class DirectServiceV5 < DirectServiceBase attr_reader :service, :service_url def initialize(client, service, methods) super(client, methods) @service = service @service_url = service.downcase @version = :v5 end def exec_request(method, request_body={}) @client.gateway.request method, request_body, @service_url, @version end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ya-api-direct-0.2.1 | lib/ya/api/direct/direct_service_v5.rb |
ya-api-direct-0.2.0 | lib/ya/api/direct/direct_service_v5.rb |