Class: RestClient::Resource
- Inherits:
-
Object
- Object
- RestClient::Resource
- Extended by:
- Conjur::BuildFromResponse
- Includes:
- Conjur::Cast, Conjur::Escape, Conjur::LogSource
- Defined in:
- lib/conjur/api.rb
Direct Known Subclasses
Conjur::Deputy, Conjur::Group, Conjur::Resource, Conjur::Role, Conjur::Secret, Conjur::User, Conjur::Variable
Instance Method Summary collapse
Methods included from Conjur::BuildFromResponse
Methods included from Conjur::LogSource
Methods included from Conjur::Escape
#fully_escape, included, #path_escape, #query_escape
Instance Method Details
#core_conjur_account ⇒ Object
46 47 48 |
# File 'lib/conjur/api.rb', line 46 def core_conjur_account Conjur::Core::API.conjur_account end |
#to_json(options = {}) ⇒ Object
50 51 52 |
# File 'lib/conjur/api.rb', line 50 def to_json( = {}) {} end |
#username ⇒ Object
54 55 56 |
# File 'lib/conjur/api.rb', line 54 def username [:user] || [:username] end |