Class: PerfectSched::ScheduleWithMetadata
- Includes:
- ScheduleMetadataAccessors
- Defined in:
- lib/perfectsched/schedule.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes included from ScheduleMetadataAccessors
Attributes inherited from Schedule
Attributes included from Model
Instance Method Summary collapse
-
#initialize(client, key, attributes) ⇒ ScheduleWithMetadata
constructor
A new instance of ScheduleWithMetadata.
- #inspect ⇒ Object
Methods included from ScheduleMetadataAccessors
#cron, #data, #delay, #message, #next_run_time, #next_time, #timezone, #type
Methods inherited from Schedule
Methods included from Model
Constructor Details
#initialize(client, key, attributes) ⇒ ScheduleWithMetadata
Returns a new instance of ScheduleWithMetadata.
52 53 54 55 |
# File 'lib/perfectsched/schedule.rb', line 52 def initialize(client, key, attributes) super(client, key) @attributes = attributes end |
Instance Method Details
#inspect ⇒ Object
57 58 59 |
# File 'lib/perfectsched/schedule.rb', line 57 def inspect "#<#{self.class} @key=#{@key.inspect} @attributes=#{@attributes.inspect}>" end |