Class: PurposeConfig::Tube
- Inherits:
-
PurposeConfig
- Object
- PurposeConfig
- PurposeConfig::Tube
- Defined in:
- lib/purpose_config.rb
Overview
rubocop:todo Style/Documentation
Instance Method Summary collapse
Constructor Details
This class inherits a constructor from PurposeConfig
Instance Method Details
#register! ⇒ Object
85 86 87 88 |
# File 'lib/purpose_config.rb', line 85 def register! puts "Creating #{name}" api.tube_purpose.create!(name: name, target_type: .fetch(:target), type: .fetch(:type)) end |