Class: RestClient::Resource

Inherits:
Object
  • Object
show all
Extended by:
Conjur::BuildFromResponse
Includes:
Conjur::Cast, Conjur::Escape, Conjur::LogSource
Defined in:
lib/conjur/api.rb

Instance Method Summary collapse

Methods included from Conjur::BuildFromResponse

build_from_response

Methods included from Conjur::LogSource

#log

Methods included from Conjur::Escape

#fully_escape, included, #path_escape, #query_escape

Instance Method Details

#core_conjur_accountObject



46
47
48
# File 'lib/conjur/api.rb', line 46

def 
  Conjur::Core::API.
end

#to_json(options = {}) ⇒ Object



50
51
52
# File 'lib/conjur/api.rb', line 50

def to_json(options = {})
  {}
end

#usernameObject



54
55
56
# File 'lib/conjur/api.rb', line 54

def username
  options[:user] || options[:username]
end