Module: SerwerSMS::ResourcesMixin

Included in:
ClientCredentials, ClientToken
Defined in:
lib/serwersms/resources_mixin.rb

Instance Method Summary collapse

Instance Method Details

#accountsObject



7
8
9
# File 'lib/serwersms/resources_mixin.rb', line 7

def accounts
  @accounts ||= SerwerSMS::Resources::Accounts.new(self)
end

#blacklistObject



11
12
13
# File 'lib/serwersms/resources_mixin.rb', line 11

def blacklist
  @blacklist ||= SerwerSMS::Resources::Blacklist.new(self)
end

#contactsObject



15
16
17
# File 'lib/serwersms/resources_mixin.rb', line 15

def contacts
  @contacts ||= SerwerSMS::Resources::Contacts.new(self)
end

#errorObject



19
20
21
# File 'lib/serwersms/resources_mixin.rb', line 19

def error
  @error ||= SerwerSMS::Resources::Error.new(self)
end

#filesObject



23
24
25
# File 'lib/serwersms/resources_mixin.rb', line 23

def files
  @files ||= SerwerSMS::Resources::Files.new(self)
end

#groupsObject



27
28
29
# File 'lib/serwersms/resources_mixin.rb', line 27

def groups
  @groups ||= SerwerSMS::Resources::Groups.new(self)
end

#messagesObject



3
4
5
# File 'lib/serwersms/resources_mixin.rb', line 3

def messages
  @messages ||= SerwerSMS::Resources::Messages.new(self)
end

#phonesObject



31
32
33
# File 'lib/serwersms/resources_mixin.rb', line 31

def phones
  @phones ||= SerwerSMS::Resources::Phones.new(self)
end

#premiumObject



35
36
37
# File 'lib/serwersms/resources_mixin.rb', line 35

def premium
  @premium ||= SerwerSMS::Resources::Premium.new(self)
end

#sendersObject



39
40
41
# File 'lib/serwersms/resources_mixin.rb', line 39

def senders
  @senders ||= SerwerSMS::Resources::Senders.new(self)
end

#statsObject



43
44
45
# File 'lib/serwersms/resources_mixin.rb', line 43

def stats
  @stats ||= SerwerSMS::Resources::Stats.new(self)
end

#subaccountsObject



47
48
49
# File 'lib/serwersms/resources_mixin.rb', line 47

def subaccounts
  @subaccounts ||= SerwerSMS::Resources::Subaccounts.new(self)
end

#templatesObject



51
52
53
# File 'lib/serwersms/resources_mixin.rb', line 51

def templates
  @templates ||= SerwerSMS::Resources::Templates.new(self)
end