Class: Mobitex::FileDelivery

Inherits:
Object
  • Object
show all
Defined in:
lib/mobitex/delivery/file_delivery.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#settingsObject

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!(message)
end