lib/conjur/acts_as_asset.rb in conjur-api-4.13.0 vs lib/conjur/acts_as_asset.rb in conjur-api-4.14.0

- old
+ new

@@ -18,18 +18,15 @@ # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # module Conjur module ActsAsAsset - def self.included(base) - base.instance_eval do - include HasId - include Exists - include HasOwner - include ActsAsResource - include HasAttributes - end - end + include HasId + include Exists + include HasOwner + include ActsAsResource + include HasAttributes + def add_member(role_name, member, options = {}) owned_role(role_name).grant_to member, options end \ No newline at end of file