Module: SMSAPI::Config

Defined in:
lib/smsapi/config.rb

Constant Summary

@@type =
:http
@@unicode =
true
@@response_details =
false
@@ssl =
true
@@http_method =
:post
@@timeout =
0

Instance Method Summary collapse

Instance Method Details

#configure(&block) ⇒ Object



39
40
41
# File 'lib/smsapi/config.rb', line 39

def configure(&block)
  module_eval block
end

#typeObject

What API will be used. Possible types are :http and :soap. Default is :http.



5
# File 'lib/smsapi/config.rb', line 5

mattr_accessor :type