Clean up syntax

This commit is contained in:
Brandon Robins
2017-11-21 01:01:02 -06:00
parent e4fde3d278
commit 74134e8209
3 changed files with 4 additions and 2 deletions

View File

@@ -6,6 +6,8 @@ module Calligraphy
@resource.unlock lock_token_header
end
private
def lock_token_header
@headers['Lock-Token'].gsub Calligraphy::LOCK_TOKEN_ANGLE_REGEX, ''
end