Skip to content
Snippets Groups Projects
Commit 03d70c64 authored by Tim Emiola's avatar Tim Emiola
Browse files

Adds updater_proc, to simplify the setup of credentials during stub creation

parent 8c750f44
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,12 @@ module Signet
apply!(a_copy, opts)
a_copy
end
# Returns a reference to the #apply method, suitable for passing as
# a closure
def updater_proc
lambda(&method(:apply))
end
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment