Class: Mushikago::Mitsubachi::Cookie
- Inherits:
-
Struct
- Object
- Struct
- Mushikago::Mitsubachi::Cookie
- Defined in:
- lib/mushikago/mitsubachi/cookie.rb
Instance Attribute Summary collapse
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#name ⇒ Object
Returns the value of attribute name.
-
#path ⇒ Object
Returns the value of attribute path.
-
#secure ⇒ Object
Returns the value of attribute secure.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#domain ⇒ Object
Returns the value of attribute domain
5 6 7 |
# File 'lib/mushikago/mitsubachi/cookie.rb', line 5 def domain @domain end |
#name ⇒ Object
Returns the value of attribute name
5 6 7 |
# File 'lib/mushikago/mitsubachi/cookie.rb', line 5 def name @name end |
#path ⇒ Object
Returns the value of attribute path
5 6 7 |
# File 'lib/mushikago/mitsubachi/cookie.rb', line 5 def path @path end |
#secure ⇒ Object
Returns the value of attribute secure
5 6 7 |
# File 'lib/mushikago/mitsubachi/cookie.rb', line 5 def secure @secure end |
#value ⇒ Object
Returns the value of attribute value
5 6 7 |
# File 'lib/mushikago/mitsubachi/cookie.rb', line 5 def value @value end |
Instance Method Details
#to_json(*args) ⇒ Object
6 7 8 |
# File 'lib/mushikago/mitsubachi/cookie.rb', line 6 def to_json *args {:name => name, :value => value, :domain => domain, :path => path, :secure => secure}.to_json(args) end |