lib/conjur/base.rb in conjur-api-2.1.1 vs lib/conjur/base.rb in conjur-api-2.1.2

- old
+ new

@@ -18,9 +18,10 @@ class << self # Parse a role id into [ account, 'roles', kind, id ] def parse_role_id(id) paths = path_escape(id).split(':') + raise "Expecting account:kind:id in role #{id}" unless paths.size >= 3 [ paths[0], 'roles', paths[1], paths[2..-1].join(':') ] end def new_from_key(username, api_key) self.new username, api_key, nil