Class: Smslist::Client
- Inherits:
-
Object
- Object
- Smslist::Client
- Defined in:
- lib/smslist/client.rb,
lib/smslist/client/sms.rb,
lib/smslist/client/state.rb,
lib/smslist/client/balance.rb
Defined Under Namespace
Constant Summary
Constants included from State
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from State
Methods included from Sms
Methods included from Balance
Methods included from Response
Methods included from Request
Methods included from Authentication
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
13 14 15 16 17 18 19 |
# File 'lib/smslist/client.rb', line 13 def initialize( = {}) = Smslist..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| self.send("#{key}=", [key]) end end |