Sha256: 5d0b6cd6b734cca18175b805b95831ea131637c7508f715553c9c2b5cff81f76

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

module Apitizer
  module Connection
    class Request
      extend Forwardable

      attr_reader :method, :path, :parameters
      def_delegator :path, :address

      def initialize(method:, path:, parameters: {})
        @method = method
        @path = path
        @parameters = parameters
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
apitizer-0.0.2 lib/apitizer/connection/request.rb