2Performant 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/2Performant.gemspec +1 -1
- data/VERSION +1 -1
- data/lib/two_performant.rb +3 -3
- metadata +3 -3
data/2Performant.gemspec
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.4
|
data/lib/two_performant.rb
CHANGED
|
@@ -660,7 +660,7 @@ class TwoPerformant
|
|
|
660
660
|
|
|
661
661
|
# List Hooks
|
|
662
662
|
def hooks_list(oauth_token_key = 'current')
|
|
663
|
-
hook("/oauth_clients/{$oauth_token_key}/hooks.xml", "hook", nil, 'GET')
|
|
663
|
+
hook("/oauth_clients/{$oauth_token_key}/hooks.xml", "hook", nil, 'GET')
|
|
664
664
|
end
|
|
665
665
|
|
|
666
666
|
|
|
@@ -670,12 +670,12 @@ class TwoPerformant
|
|
|
670
670
|
'hook' => hook
|
|
671
671
|
}
|
|
672
672
|
|
|
673
|
-
hook("/oauth_clients/#{oauth_token_key}/hooks.xml", "hook", request, 'POST')
|
|
673
|
+
hook("/oauth_clients/#{oauth_token_key}/hooks.xml", "hook", request, 'POST')
|
|
674
674
|
end
|
|
675
675
|
|
|
676
676
|
# Destroy a Hook
|
|
677
677
|
def hook_destroy(hook_id, oauth_token_key = 'current')
|
|
678
|
-
hook("/oauth_clients/#{oauth_token_key}/hooks/#{hook_id}.xml", "hook", nil, 'DELETE')
|
|
678
|
+
hook("/oauth_clients/#{oauth_token_key}/hooks/#{hook_id}.xml", "hook", nil, 'DELETE')
|
|
679
679
|
end
|
|
680
680
|
|
|
681
681
|
def hook(path, expected, send = nil, method = 'GET') #:nodoc:
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: 2Performant
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 23
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 4
|
|
10
|
+
version: 0.0.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- 2Performant
|