Class: Serwersms::Accounts

Inherits:
Object
  • Object
show all
Defined in:
lib/library/accounts.rb

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ Accounts

Returns a new instance of Accounts.



2
3
4
# File 'lib/library/accounts.rb', line 2

def initialize(obj)
    @serwersms = obj
end

Instance Method Details

#add(params = {}) ⇒ Object



17
18
19
# File 'lib/library/accounts.rb', line 17

def add( params = {} )
  @serwersms.call('account/add',params);
end

#helpObject



49
50
51
52
# File 'lib/library/accounts.rb', line 49

def help()
  params = {} 
  @serwersms.call('account/help',params);
end

#limitsObject



31
32
33
34
# File 'lib/library/accounts.rb', line 31

def limits()
  params = {} 
  @serwersms.call('account/limits',params);
end

#messagesObject



60
61
62
63
# File 'lib/library/accounts.rb', line 60

def messages()
  params = {} 
  @serwersms.call('account/messages',params);
end