Skip to content

Commit

Permalink
Add score kind as subtype to ack
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Jun 21, 2013
1 parent 2540767 commit cd4717c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/kudu/ack.rb
Expand Up @@ -20,7 +20,9 @@ def create_or_update_score
end

def uid
"ack:#{score.path}$#{id}"
klass = "ack"
klass += ".#{score.kind}" if score.kind
"#{klass}:#{score.path}$#{id}"
end

def attributes_for_export
Expand Down

0 comments on commit cd4717c

Please sign in to comment.