Sha256: d28f24727cc615a3c06b6e228a40937c7e16473ced2a075880cca76298da0f74
Contents?: true
Size: 919 Bytes
Versions: 17
Compression:
Stored size: 919 Bytes
Contents
# typed: strict # frozen_string_literal: true module Setsuzoku module Service module WebService # WebService's Service should define all available auth and api strategies. class Service extend T::Sig extend T::Helpers include Setsuzoku::Service # The api and auth strategies available for WebService. # # @return [Hash(Hash(Class))] the available_strategies object for WebService. sig { override.returns(T::Hash[Symbol, T::Hash[Symbol, Class]]) } def self.available_strategies { auth: { basic: Setsuzoku::Service::WebService::AuthStrategies::BasicAuthStrategy, o_auth: Setsuzoku::Service::WebService::AuthStrategies::OAuthStrategy }, api: { rest: ApiStrategies::RestStrategy } } end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems