Sha256: 0215bab5f046ea89c83329ef10c0c91d6d2ffd6ecd78b6b5d347c88aa2479e13

Contents?: true

Size: 515 Bytes

Versions: 24

Compression:

Stored size: 515 Bytes

Contents

# frozen_string_literal: true
# ProxyRb
module ProxyRb
  # User passwords
  module UserPasswords
    # Be a password from environment
    class EnvironmentUserPassword
      include Contracts::Core
      include Contracts::Builtin

      protected

      attr_reader :response

      public

      def initialize(response)
        @response = response
      end

      # Return password
      #
      # @return [String]
      Contract None => String
      def to_s
        response.to_s
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
proxy_rb-1.0.0 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.10.6 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.10.5 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.10.4 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.10.3 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.10.2 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.10.1 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.10.0 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.9.3 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.9.2 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.9.1 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.9.0 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.8.3 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.8.2 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.8.1 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.8.0 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.7.1 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.7.0 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.6.0 lib/proxy_rb/user_passwords/environment_user_password.rb
proxy_rb-0.5.0 lib/proxy_rb/user_passwords/environment_user_password.rb