Sha256: e101a8c717218d157ebc3ae1f665d948bea1e9415cb24352bb3c46a081bf963f

Contents?: true

Size: 602 Bytes

Versions: 6759

Compression:

Stored size: 602 Bytes

Contents

# frozen_string_literal: true
require 'ethon/easy/util'
require 'ethon/easy/queryable'

module Ethon
  class Easy

    # This class represents HTTP request parameters.
    #
    # @api private
    class Params
      include Ethon::Easy::Util
      include Ethon::Easy::Queryable

      # Create a new Params.
      #
      # @example Create a new Params.
      #   Params.new({})
      #
      # @param [ Hash ] params The params to use.
      #
      # @return [ Params ] A new Params.
      def initialize(easy, params)
        @easy = easy
        @params = params || {}
      end
    end
  end
end

Version data entries

6,759 entries across 6,757 versions & 23 rubygems

Version Path
ory-client-0.0.1.alpha28 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/params.rb
ory-client-0.0.1.alpha27 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/params.rb
ory-client-0.0.1.alpha24 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/params.rb
ory-client-0.0.1.alpha23 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/params.rb
ory-kratos-client-0.8.0.alpha2 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/params.rb
ory-client-0.0.1.alpha21 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/params.rb
ory-keto-client-0.7.0.alpha1 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/params.rb
ethon-0.15.0 lib/ethon/easy/params.rb
ory-keto-client-0.7.0.alpha0 vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/easy/params.rb
ory-kratos-client-0.7.6.alpha7 vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/easy/params.rb
ory-kratos-client-0.7.6.alpha6 vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/easy/params.rb
ory-kratos-client-0.7.6.alpha5 vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/easy/params.rb
ory-kratos-client-0.7.6.alpha4 vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/easy/params.rb
ory-kratos-client-0.7.6.alpha3 vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/easy/params.rb
ory-kratos-client-0.7.6.alpha1 vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/easy/params.rb
ory-kratos-client-0.7.5.alpha2 vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/easy/params.rb
cloudsmith-api-0.57.1 vendor/bundle/ruby/2.6.0/gems/ethon-0.14.0/lib/ethon/easy/params.rb
ethon-0.14.0 lib/ethon/easy/params.rb
ethon-0.13.0 lib/ethon/easy/params.rb