Module: Terasms
- Defined in:
- lib/terasms.rb,
lib/terasms/http_client/base.rb
Defined Under Namespace
Classes: HttpClient, Sms
Class Method Summary collapse
- .config ⇒ Object
-
.configure {|config| ... } ⇒ Object
url, login, password, sign.
Class Method Details
.config ⇒ Object
84 85 86 |
# File 'lib/terasms.rb', line 84 def self.config @config ||= OpenStruct.new end |
.configure {|config| ... } ⇒ Object
url, login, password, sign
89 90 91 |
# File 'lib/terasms.rb', line 89 def self.configure yield(config) end |