Sha256: 8a5102a7aa03c487061feb64a1e7924a828d7fb81e5b183933616362b60612db

Contents?: true

Size: 482 Bytes

Versions: 2

Compression:

Stored size: 482 Bytes

Contents

require 'conjur/env'
require 'conjur/base'
require 'conjur/acts_as_resource'
require 'conjur/acts_as_role'
require 'conjur/acts_as_user'
require 'conjur/log_source'
require 'conjur/has_attributes'
require 'conjur/has_identifier'
require 'conjur/has_id'
require 'conjur/authn-api'
require 'conjur/authz-api'
require 'conjur/core-api'

class RestClient::Resource
  include Conjur::Escape
  include Conjur::LogSource
  
  def username
    options[:user] || options[:username]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
conjur-api-2.1.0 lib/conjur/api.rb
conjur-api-2.0.1 lib/conjur/api.rb