lib/ezid/session.rb in ezid-client-0.11.0 vs lib/ezid/session.rb in ezid-client-0.12.0
- old
+ new
@@ -6,11 +6,11 @@
#
class Session
attr_reader :cookie
- def initialize(response=nil)
- open(response) if response
+ def initialize(cookie=nil)
+ open(cookie) if cookie
end
def inspect
super.sub(/@cookie="[^\"]+"/, "OPEN")
end