Class: Smshelper::Api::Txtnation

Inherits:
Base
  • Object
show all
Defined in:
lib/smshelper/api/txtnation.rb

Instance Attribute Summary

Attributes inherited from Base

#extra_options, #sent_message_ids, #sent_message_statuses

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Txtnation

Returns a new instance of Txtnation.



6
7
8
9
10
# File 'lib/smshelper/api/txtnation.rb', line 6

def initialize(*args)
  config = args.shift
  add_query_options! :username => config.txtnation[:uname], :password => config.txtnation[:passwd]
  super
end