Module: SerwerSMS::ResourcesMixin
- Included in:
- ClientCredentials, ClientToken
- Defined in:
- lib/serwersms/resources_mixin.rb
Instance Method Summary collapse
- #accounts ⇒ Object
- #blacklist ⇒ Object
- #contacts ⇒ Object
- #error ⇒ Object
- #files ⇒ Object
- #groups ⇒ Object
- #messages ⇒ Object
- #phones ⇒ Object
- #premium ⇒ Object
- #senders ⇒ Object
- #stats ⇒ Object
- #subaccounts ⇒ Object
- #templates ⇒ Object
Instance Method Details
#accounts ⇒ Object
7 8 9 |
# File 'lib/serwersms/resources_mixin.rb', line 7 def accounts @accounts ||= SerwerSMS::Resources::Accounts.new(self) end |
#blacklist ⇒ Object
11 12 13 |
# File 'lib/serwersms/resources_mixin.rb', line 11 def blacklist @blacklist ||= SerwerSMS::Resources::Blacklist.new(self) end |
#contacts ⇒ Object
15 16 17 |
# File 'lib/serwersms/resources_mixin.rb', line 15 def contacts @contacts ||= SerwerSMS::Resources::Contacts.new(self) end |
#error ⇒ Object
19 20 21 |
# File 'lib/serwersms/resources_mixin.rb', line 19 def error @error ||= SerwerSMS::Resources::Error.new(self) end |
#files ⇒ Object
23 24 25 |
# File 'lib/serwersms/resources_mixin.rb', line 23 def files @files ||= SerwerSMS::Resources::Files.new(self) end |
#groups ⇒ Object
27 28 29 |
# File 'lib/serwersms/resources_mixin.rb', line 27 def groups @groups ||= SerwerSMS::Resources::Groups.new(self) end |
#messages ⇒ Object
3 4 5 |
# File 'lib/serwersms/resources_mixin.rb', line 3 def @messages ||= SerwerSMS::Resources::Messages.new(self) end |
#phones ⇒ Object
31 32 33 |
# File 'lib/serwersms/resources_mixin.rb', line 31 def phones @phones ||= SerwerSMS::Resources::Phones.new(self) end |
#premium ⇒ Object
35 36 37 |
# File 'lib/serwersms/resources_mixin.rb', line 35 def premium @premium ||= SerwerSMS::Resources::Premium.new(self) end |
#senders ⇒ Object
39 40 41 |
# File 'lib/serwersms/resources_mixin.rb', line 39 def senders @senders ||= SerwerSMS::Resources::Senders.new(self) end |
#stats ⇒ Object
43 44 45 |
# File 'lib/serwersms/resources_mixin.rb', line 43 def stats @stats ||= SerwerSMS::Resources::Stats.new(self) end |
#subaccounts ⇒ Object
47 48 49 |
# File 'lib/serwersms/resources_mixin.rb', line 47 def subaccounts @subaccounts ||= SerwerSMS::Resources::Subaccounts.new(self) end |