Class: WhiskeyDisk::Config::AddProjectNameFilter

Inherits:
AbstractFilter show all
Defined in:
lib/whiskey_disk/config/filters/add_project_name_filter.rb

Instance Attribute Summary

Attributes inherited from AbstractFilter

#config

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