Class | AWS::SimpleWorkflow::HistoryEvent::Attributes |
In: |
lib/aws/simple_workflow/history_event.rb
|
Parent: | Object |
A collection off attributes that provides method and hash style access to a collection of attributes.
If you are exploring a history event, you can call {keys} to get a complete list of attribute names present. You can also reference the service API documentation that lists all history event types along with their returned attributes.
Here are a few examples showing the different ways to access an attribute:
event = workflow_executions.events.first # equivalent event.attributes.task_list event.attributes[:task_list] event.attributes['task_list'] event.attributes['taskList']
As shown in the example above keys and method names can be snake_cased or camelCased (strings or symbols).
The following list of attributes are treated specially. Generally this means they return