Class: ResetCommand
- Inherits:
-
Struct
- Object
- Struct
- ResetCommand
- Defined in:
- lib/drillmail/commands/reset.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#session ⇒ Object
Returns the value of attribute session.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
1 2 3 |
# File 'lib/drillmail/commands/reset.rb', line 1 def body @body end |
#session ⇒ Object
Returns the value of attribute session
1 2 3 |
# File 'lib/drillmail/commands/reset.rb', line 1 def session @session end |
Instance Method Details
#call ⇒ Object
2 3 4 5 |
# File 'lib/drillmail/commands/reset.rb', line 2 def call session.setup_session session.reply(250, 'OK') end |