Sha256: f19a37e06fadacfb68f90e50f106f983f490a8cd9da4e5da54728e6a5a4ae6c7
Contents?: true
Size: 317 Bytes
Versions: 10
Compression:
Stored size: 317 Bytes
Contents
class EditProperty < Struct.new :project_name, :metric_name, :value, :author def call project = project, metric_name = metric_name, value = value, author = author project.edit_property(metric_name, value, author) end def project project_name = project_name Project.find_by(name: project_name) end end
Version data entries
10 entries across 10 versions & 1 rubygems