Class: Mobitex::FileDelivery
- Inherits:
-
Object
- Object
- Mobitex::FileDelivery
- Defined in:
- lib/mobitex/delivery/file_delivery.rb
Instance Attribute Summary collapse
-
#settings ⇒ Object
Returns the value of attribute settings.
Instance Method Summary collapse
- #deliver!(message) ⇒ Object
-
#initialize(values) ⇒ FileDelivery
constructor
A new instance of FileDelivery.
Constructor Details
#initialize(values) ⇒ FileDelivery
Returns a new instance of FileDelivery.
5 6 7 8 9 |
# File 'lib/mobitex/delivery/file_delivery.rb', line 5 def initialize(values) self.settings = { :location => './messages' }.merge!(values) end |
Instance Attribute Details
#settings ⇒ Object
Returns the value of attribute settings.
11 12 13 |
# File 'lib/mobitex/delivery/file_delivery.rb', line 11 def settings @settings end |
Instance Method Details
#deliver!(message) ⇒ Object
13 14 |
# File 'lib/mobitex/delivery/file_delivery.rb', line 13 def deliver!() end |