Clean up syntax
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user