Class: Appydave::Tools::Configuration::Models::YoutubeAutomationConfig::WorkflowGroup
- Inherits:
-
Object
- Object
- Appydave::Tools::Configuration::Models::YoutubeAutomationConfig::WorkflowGroup
- Defined in:
- lib/appydave/tools/configuration/models/youtube_automation_config.rb
Overview
Model for workflow groups
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#group ⇒ Object
Returns the value of attribute group.
Instance Method Summary collapse
-
#initialize(data) ⇒ WorkflowGroup
constructor
A new instance of WorkflowGroup.
- #to_h ⇒ Object
Constructor Details
#initialize(data) ⇒ WorkflowGroup
Returns a new instance of WorkflowGroup.
62 63 64 65 |
# File 'lib/appydave/tools/configuration/models/youtube_automation_config.rb', line 62 def initialize(data) @group = data['group'] @description = data['description'] end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
60 61 62 |
# File 'lib/appydave/tools/configuration/models/youtube_automation_config.rb', line 60 def description @description end |
#group ⇒ Object
Returns the value of attribute group.
60 61 62 |
# File 'lib/appydave/tools/configuration/models/youtube_automation_config.rb', line 60 def group @group end |
Instance Method Details
#to_h ⇒ Object
67 68 69 70 71 72 |
# File 'lib/appydave/tools/configuration/models/youtube_automation_config.rb', line 67 def to_h { 'group' => @group, 'description' => @description } end |