Class: SerwerSMS::Resources::Stats
- Inherits:
-
Object
- Object
- SerwerSMS::Resources::Stats
- Defined in:
- lib/serwersms/resources/stats.rb
Instance Method Summary collapse
-
#index(params = {}) ⇒ Hash
Sending statistics.
-
#initialize(client) ⇒ Stats
constructor
A new instance of Stats.
Constructor Details
#initialize(client) ⇒ Stats
Returns a new instance of Stats.
4 5 6 |
# File 'lib/serwersms/resources/stats.rb', line 4 def initialize(client) @client = client end |
Instance Method Details
#index(params = {}) ⇒ Hash
Sending statistics
26 27 28 |
# File 'lib/serwersms/resources/stats.rb', line 26 def index(params = {}) @client.call('stats/index', params) end |