Sha256: df566f245ebfa1d5db6e264abe7261020faa807598649b766448ddd8c71a31ca
Contents?: true
Size: 813 Bytes
Versions: 4
Compression:
Stored size: 813 Bytes
Contents
require 'conjur/env' require 'conjur/base' require 'conjur/build_from_response' 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/acts_as_asset' require 'conjur/authn-api' require 'conjur/authz-api' require 'conjur/core-api' class RestClient::Resource include Conjur::Escape include Conjur::LogSource extend Conjur::BuildFromResponse def core_conjur_account Conjur::Core::API.conjur_account end def to_json(options = {}) {} end def path_components require 'uri' URI.parse(self.url).path.split('/').map{|e| URI.unescape e} end def username options[:user] || options[:username] end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
conjur-api-2.2.3 | lib/conjur/api.rb |
conjur-api-2.2.2 | lib/conjur/api.rb |
conjur-api-2.2.1 | lib/conjur/api.rb |
conjur-api-2.1.8 | lib/conjur/api.rb |