MissionHub 1.0rc6 → 1.0rc7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/missionhub/api.rb +4 -0
- data/lib/missionhub/version.rb +1 -1
- metadata +2 -2
data/lib/missionhub/api.rb
CHANGED
@@ -12,6 +12,10 @@ module MissionHub
|
|
12
12
|
self.class.base_uri MissionHub.base_uri
|
13
13
|
end
|
14
14
|
|
15
|
+
def debug
|
16
|
+
debug_output $stderr
|
17
|
+
end
|
18
|
+
|
15
19
|
def auth
|
16
20
|
options = {:body => { :grant_type => 'none', :client_id => MissionHub.client_id, :client_secret => MissionHub.client_secret } }
|
17
21
|
response = self.class.post('/oauth/access_token', options)
|
data/lib/missionhub/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: MissionHub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.0rc7
|
5
5
|
prerelease: 3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|