Module: MobilePronto::Basic

Included in:
MobilePronto
Defined in:
lib/mobilepronto/basic.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



8
9
10
# File 'lib/mobilepronto/basic.rb', line 8

def self.extended(base)
  base.send(:include, ActiveSupport::Configurable)
end

Instance Method Details

#send_msg(options = {}, &block) ⇒ Object



12
13
14
# File 'lib/mobilepronto/basic.rb', line 12

def send_msg(options = {}, &block)
  request(options.merge(config), &block)
end