class Conjur::User

Public Instance Methods

public_keys() click to toggle source

The attribute synchronization expects a public_keys method on the User, so add one. The expected form is a list, so split the raw pubkeys result on newlines.

# File lib/conjur/api/patches/user.rb, line 6
def public_keys
  conjur_api.public_keys(login).split("\n")
end