Class: IletiMerkezi::Account
- Inherits:
-
Object
- Object
- IletiMerkezi::Account
- Extended by:
- XmlBuilder
- Defined in:
- lib/ileti_merkezi/actions/account.rb
Overview
Account
Constant Summary collapse
- PATH =
'http://dev.iletimerkezi.com/index.php?function=api&'\ '&special_username=Ns_eemsm&special_password=_Arg_ns_mmm'
Constants included from XmlBuilder
Class Method Summary collapse
Methods included from XmlBuilder
Class Method Details
.info ⇒ Object
13 14 15 16 17 18 |
# File 'lib/ileti_merkezi/actions/account.rb', line 13 def info request( '&obj1=getUserInfo', hash_to_xml(userInfo: user_info) ) end |
.senders ⇒ Object
20 21 22 23 24 25 |
# File 'lib/ileti_merkezi/actions/account.rb', line 20 def senders request( '&obj1=getSmsHeader', hash_to_xml(smsApi: { userInfo: user_info.merge(smsType: 2) }) ) end |