Module: ActiveSmsgate
- Defined in:
- lib/active_smsgate/gateway.rb,
lib/active_smsgate.rb,
lib/active_smsgate/gateways/amegainform.rb
Overview
:nodoc:
Defined Under Namespace
Modules: Gateway
Constant Summary collapse
- VERSION =
"0.0"
Class Method Summary collapse
- .log(message) ⇒ Object
-
.logger ⇒ Object
:nodoc:.
-
.logging? ⇒ Boolean
:nodoc:.
Class Method Details
.log(message) ⇒ Object
19 20 21 22 |
# File 'lib/active_smsgate.rb', line 19 def log puts "lid ---------------" # logger.info("[active_smsgate] #{message}") #if logging? end |
.logger ⇒ Object
:nodoc:
24 25 26 27 28 |
# File 'lib/active_smsgate.rb', line 24 def logger #:nodoc: # # ActiveRecord::Base.logger # FILE = "sms_send.log" # $logger = Logger.new(FILE,3,5000000) end |
.logging? ⇒ Boolean
:nodoc:
30 31 32 |
# File 'lib/active_smsgate.rb', line 30 def logging? #:nodoc: true #options[:log] end |