Class: Courier::Resources::Digests
- Inherits:
-
Object
- Object
- Courier::Resources::Digests
- Defined in:
- lib/courier/resources/digests.rb,
lib/courier/resources/digests/schedules.rb
Defined Under Namespace
Classes: Schedules
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(client:) ⇒ Digests
constructor
private
A new instance of Digests.
Constructor Details
#initialize(client:) ⇒ Digests
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 Digests.
12 13 14 15 |
# File 'lib/courier/resources/digests.rb', line 12 def initialize(client:) @client = client @schedules = Courier::Resources::Digests::Schedules.new(client: client) end |
Instance Attribute Details
#schedules ⇒ Courier::Resources::Digests::Schedules (readonly)
7 8 9 |
# File 'lib/courier/resources/digests.rb', line 7 def schedules @schedules end |