diff --git a/lib/http/cookie.rb b/lib/http/cookie.rb index e4d1bfa..ec01ae2 100644 --- a/lib/http/cookie.rb +++ b/lib/http/cookie.rb @@ -47,8 +47,8 @@ class HTTP::Cookie include URIFix if defined?(URIFix) - attr_accessor :name, :value, :version - attr_accessor :domain, :path, :secure + attr_reader :name, :domain, :path, :origin + attr_accessor :secure, :value, :version attr_reader :domain_name attr_accessor :comment, :max_age @@ -57,8 +57,6 @@ class HTTP::Cookie attr_accessor :created_at attr_accessor :accessed_at - attr_accessor :origin - # :call-seq: # new(name, value) # new(name, value, attr_hash)