giocopro 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ module GeneratorInstructions
|
|
7
7
|
|
8
8
|
Gioco Pro successfully installed.
|
9
9
|
|
10
|
-
1. You need to setup an environment variable (
|
10
|
+
1. You need to setup an environment variable (GIOCOPRO_TOKEN) for your Application Token.
|
11
11
|
2. You will find your token on http://app.gioco.pro/ on Manage > Application Token
|
12
12
|
|
13
13
|
For usage and more infomation go to the documentation:
|
data/lib/giocopro.rb
CHANGED
@@ -5,7 +5,7 @@ module GiocoPro
|
|
5
5
|
class GiocoPro
|
6
6
|
def initialize(token=false)
|
7
7
|
@http = Net::HTTP.new('app.gioco.pro')
|
8
|
-
@headers = {'Content-Type' =>'application/json', 'Token' =>(token) ? token : ENV['
|
8
|
+
@headers = {'Content-Type' =>'application/json', 'Token' =>(token) ? token : ENV['GIOCOPRO_TOKEN']}
|
9
9
|
end
|
10
10
|
|
11
11
|
def get_resource(aid)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: giocopro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Gioco Pro
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2014-
|
18
|
+
date: 2014-09-05 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|