Sha256: 96eddabf8c47cac1d3f4fa0ae2969fbcf449e5a698dcc5129adcdccc33188e60

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

module Mountapi
  module Request
    class Parameters
      def initialize(query:, header:, body:)
        @query = query
        @header = header
        @body = body
      end

      def to_h
        { body: @body,
          header: @header,
          query: @query }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mountapi-0.11.1 lib/mountapi/request/parameters.rb