Sha256: 0e60ce6cd69a034ab34d6fa17fa7009255d5d7ad96e51f56d3b7fa5450555815

Contents?: true

Size: 360 Bytes

Versions: 17

Compression:

Stored size: 360 Bytes

Contents

module Foobara
  class CommandConnector
    class Response
      attr_accessor :status,
                    :body,
                    :request

      def initialize(status:, body:, request:)
        self.status = status
        self.body = body
        self.request = request
      end

      foobara_delegate :command, :error, to: :request
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
foobara-0.0.26 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.25 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.24 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.23 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.22 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.21 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.20 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.19 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.18 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.17 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.16 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.15 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.14 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.13 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.12 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.11 projects/command_connectors/src/command_connector/response.rb
foobara-0.0.10 projects/command_connectors/src/command_connector/response.rb