Clean up syntax
This commit is contained in:
@@ -6,6 +6,8 @@ module Calligraphy
|
|||||||
@resource.unlock lock_token_header
|
@resource.unlock lock_token_header
|
||||||
end
|
end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
def lock_token_header
|
def lock_token_header
|
||||||
@headers['Lock-Token'].gsub Calligraphy::LOCK_TOKEN_ANGLE_REGEX, ''
|
@headers['Lock-Token'].gsub Calligraphy::LOCK_TOKEN_ANGLE_REGEX, ''
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user