Sha256: 099f094a419d6392f52b2f04af414f253411c39aac0b6c9777672cb9e4e6e4d5

Contents?: true

Size: 479 Bytes

Versions: 4

Compression:

Stored size: 479 Bytes

Contents

module Aldous
  module Respondable
    class RequestHttpBasicAuthentication < Base
      def action(controller)
        RequestHttpBasicAuthenticationAction.new(controller)
      end

      private

      class RequestHttpBasicAuthenticationAction
        attr_reader :controller

        def initialize(controller)
          @controller = controller
        end

        def execute
          controller.request_http_basic_authentication
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aldous-1.1.3 lib/aldous/respondable/request_http_basic_authentication.rb
aldous-1.1.2 lib/aldous/respondable/request_http_basic_authentication.rb
aldous-1.0.1 lib/aldous/respondable/request_http_basic_authentication.rb
aldous-1.0.0 lib/aldous/respondable/request_http_basic_authentication.rb