Sha256: 8b5afda0974727b1d1b9ad5cab34f315bd4bd8b79c36774e6ac06a55d1682711
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
# typed: ignore # frozen_string_literal: true module Setsuzoku module Credential extend T::Sig extend T::Helpers interface! # Create a stub implementation of the credential for testing purposes # # @return [Struct] a struct that implements stubbed version of a credential's required methods. sig { abstract.returns(Struct) } def self.stub_credential; end # The status of the credential. # # @return [Hash] the status of the credential. sig { abstract.returns(String) } def status; end # A settings object for the credential. # # @return [Hash] the settings for the credential. sig { abstract.returns(T.nilable(T::Hash[T.untyped, T.untyped])) } def settings; end # Setter for the settings object for the credential. # # @param val [Hash] a settings object to set. # # @return [Hash] the settings for the credential. sig do abstract .params(val: T.nilable(T::Hash[T.untyped, T.untyped])) .returns(T.nilable(T::Hash[T.untyped, T.untyped])) end def settings=(val); end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
setsuzoku-0.11.8 | lib/setsuzoku/credential.rb |