Class: Esendex::Batches
- Inherits:
-
Object
- Object
- Esendex::Batches
- Includes:
- Enumerable
- Defined in:
- lib/xednese/batches.rb
Overview
Provides methods for working with message batches. A Batches instance is Enumerable, and will only make requests when needed.
Instance Method Summary collapse
-
#each {|Batch| ... } ⇒ Object
access to.
-
#get(id) ⇒ Batch
Returns the batch with the given id.
-
#initialize(credentials) ⇒ Batches
constructor
private
A new instance of Batches.
Constructor Details
#initialize(credentials) ⇒ Batches
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Batches.
9 10 11 |
# File 'lib/xednese/batches.rb', line 9 def initialize(credentials) @credentials = credentials end |