Sha256: c813d482ca56e2ad2d6742778ec6569a15b4286b647e1e85bdd92f099dd88bf3

Contents?: true

Size: 322 Bytes

Versions: 1

Compression:

Stored size: 322 Bytes

Contents

module Docker
  module Remote
    class ServerAuth
      attr_reader :auth_type, :params

      def initialize(auth_type, params)
        @auth_type = auth_type
        @params = params
      end

      def realm
        @params['realm']
      end

      def service
        @params['service']
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
docker-remote-0.1.0 lib/docker/remote/server_auth.rb