lib/two_performant.rb in 2Performant-0.0.4 vs lib/two_performant.rb in 2Performant-0.0.5
- old
+ new
@@ -658,10 +658,10 @@
# Hooks
#=======
# List Hooks
def hooks_list(oauth_token_key = 'current')
- hook("/oauth_clients/{$oauth_token_key}/hooks.xml", "hook", nil, 'GET')
+ hook("/oauth_clients/#{oauth_token_key}/hooks.xml", "hook", nil, 'GET')
end
# Create a Hook
def hook_create(hook, oauth_token_key = 'current')