Sha256: 94eee51c4d59e38b978f61aaf27f7e0b64efd232fbb7b0c974e97b0138ab0778

Contents?: true

Size: 405 Bytes

Versions: 13

Compression:

Stored size: 405 Bytes

Contents

# frozen_string_literal: true
module  Drillbit
module  Authorizers
class   Parameters
  attr_accessor :token,
                :user,
                :params

  def initialize(token:, user:, params:, **other)
    self.token  = token
    self.user   = user
    self.params = params

    other.each do |name, value|
      public_send("#{name}=", value)
    end
  end

  def call
    params
  end
end
end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
drillbit-2.4.0 lib/drillbit/authorizers/parameters.rb
drillbit-2.3.1 lib/drillbit/authorizers/parameters.rb
drillbit-2.3.0 lib/drillbit/authorizers/parameters.rb
drillbit-2.2.2 lib/drillbit/authorizers/parameters.rb
drillbit-2.2.1 lib/drillbit/authorizers/parameters.rb
drillbit-2.2.0 lib/drillbit/authorizers/parameters.rb
drillbit-2.1.0 lib/drillbit/authorizers/parameters.rb
drillbit-2.0.1 lib/drillbit/authorizers/parameters.rb
drillbit-2.0.0 lib/drillbit/authorizers/parameters.rb
drillbit-1.1.0 lib/drillbit/authorizers/parameters.rb
drillbit-1.0.1 lib/drillbit/authorizers/parameters.rb
drillbit-1.0.0 lib/drillbit/authorizers/parameters.rb
drillbit-0.0.1 lib/drillbit/authorizers/parameters.rb