Sha256: 405b3959eda91ea524ea1cb1e165690bc0ea97e97097e26cb4352082405486f4

Contents?: true

Size: 517 Bytes

Versions: 19

Compression:

Stored size: 517 Bytes

Contents

module ApipieBindings

  # AbstractCredentials class can hold your logic to get
  # users credentials. It defines interface that can be used
  # by ApipieBindings when the credentials are needed to create connection
  class AbstractCredentials

    # Convert credentials to hash usable for merging to RestClient configuration
    # @return [Hash]
    def to_params
      {}
    end

    # Check that credentials storage is empty
    def empty?
    end

    # Clear credentials storage
    def clear
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
apipie-bindings-0.7.0 lib/apipie_bindings/credentials.rb
apipie-bindings-0.6.0 lib/apipie_bindings/credentials.rb
apipie-bindings-0.5.0 lib/apipie_bindings/credentials.rb
apipie-bindings-0.4.0 lib/apipie_bindings/credentials.rb
apipie-bindings-0.3.0 lib/apipie_bindings/credentials.rb
apipie-bindings-0.2.3 lib/apipie_bindings/credentials.rb
apipie-bindings-0.2.2 lib/apipie_bindings/credentials.rb
apipie-bindings-0.2.1 lib/apipie_bindings/credentials.rb
apipie-bindings-0.2.0 lib/apipie_bindings/credentials.rb
apipie-bindings-0.1.0 lib/apipie_bindings/credentials.rb
apipie-bindings-0.0.19 lib/apipie_bindings/credentials.rb
apipie-bindings-0.0.18 lib/apipie_bindings/credentials.rb
apipie-bindings-0.0.17 lib/apipie_bindings/credentials.rb
apipie-bindings-0.0.16 lib/apipie_bindings/credentials.rb
apipie-bindings-0.0.15 lib/apipie_bindings/credentials.rb
apipie-bindings-0.0.14 lib/apipie_bindings/credentials.rb
apipie-bindings-0.0.13 lib/apipie_bindings/credentials.rb
apipie-bindings-0.0.12 lib/apipie_bindings/credentials.rb
apipie-bindings-0.0.11 lib/apipie_bindings/credentials.rb