Class: MooMoo::Cookie
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- MooMoo::Cookie
- Defined in:
- lib/moo_moo/services/cookie.rb
Instance Attribute Summary
Attributes inherited from BaseCommand
#host, #key, #password, #port, #response, #username
Instance Method Summary collapse
-
#delete ⇒ Object
Deletes a cookie.
-
#quit ⇒ Object
Cleanly terminates the connection.
-
#set ⇒ Object
Creates a cookie for use in commands where a cookie is required to access OpenSRS.
-
#update ⇒ Object
Allows the client to change the domain associated with the current cookie.
Methods inherited from BaseCommand
#attributes, #initialize, #message, register_service, #successful?
Constructor Details
This class inherits a constructor from MooMoo::BaseCommand
Instance Method Details
#delete ⇒ Object
Deletes a cookie.
14 |
# File 'lib/moo_moo/services/cookie.rb', line 14 register_service :delete, :cookie |
#quit ⇒ Object
Cleanly terminates the connection.
26 |
# File 'lib/moo_moo/services/cookie.rb', line 26 register_service :quit, :session |
#set ⇒ Object
Creates a cookie for use in commands where a cookie is required to access OpenSRS.
8 |
# File 'lib/moo_moo/services/cookie.rb', line 8 register_service :set, :cookie |
#update ⇒ Object
Allows the client to change the domain associated with the current cookie.
20 |
# File 'lib/moo_moo/services/cookie.rb', line 20 register_service :update, :cookie |