Class: Tape::Adapters::Pony
Overview
Using Pony
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#by_recipient, #initialize, #parse
Constructor Details
This class inherits a constructor from Tape::Adapters::Base
Instance Method Details
#all ⇒ Object
7 8 9 |
# File 'lib/tape/adapters/pony.rb', line 7 def all ::Pony.deliveries end |
#last ⇒ Object
11 12 13 |
# File 'lib/tape/adapters/pony.rb', line 11 def last ::Pony.deliveries.last end |
#reset ⇒ Object
15 16 17 |
# File 'lib/tape/adapters/pony.rb', line 15 def reset ::Pony.deliveries.clear end |