Class: WhiskeyDisk::Config::AddProjectNameFilter
- Inherits:
-
AbstractFilter
- Object
- AbstractFilter
- WhiskeyDisk::Config::AddProjectNameFilter
- Defined in:
- lib/whiskey_disk/config/filters/add_project_name_filter.rb
Instance Attribute Summary
Attributes inherited from AbstractFilter
Instance Method Summary collapse
Methods inherited from AbstractFilter
#environment_name, #initialize, #project_name
Constructor Details
This class inherits a constructor from WhiskeyDisk::Config::AbstractFilter
Instance Method Details
#filter(data) ⇒ Object
6 7 8 |
# File 'lib/whiskey_disk/config/filters/add_project_name_filter.rb', line 6 def filter(data) data.merge( { 'project' => project_name } ) end |