Sha256: ae4999af7229caca86f210fcda9bf0e6b15b19423a913589e1a426c931891ab8

Contents?: true

Size: 431 Bytes

Versions: 3

Compression:

Stored size: 431 Bytes

Contents

require "foobara/rack_connector"

module Foobara
  module CommandConnectors
    class RailsCommandConnector < Foobara::CommandConnectors::Http::Rack
      class Request < Foobara::CommandConnectors::Http::Rack::Request
        attr_accessor :controller

        def initialize(controller, prefix: nil)
          self.controller = controller

          super(controller.request.env, prefix:)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foobara-rails-command-connector-0.0.3 src/rails_command_connector/request.rb
foobara-rails-command-connector-0.0.2 src/rails_command_connector/request.rb
foobara-rails-command-connector-0.0.1 src/rails_command_connector/request.rb