casino_hub 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/casino_hub.rb +6 -6
- data/lib/casino_hub/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e187c2824a55927edbd77f8a33488c5a82fc78abb57e7069fc419b7698786f94
|
4
|
+
data.tar.gz: deae5d26a0b572557eaade0e1c6a3597921c07fc146be693adb01a4bb4671a97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3887487e6497bc163ccdc3dcfbb97e790aa2fd2ea5925700ef16b2ad7ab65d61df70600f4cd4ce2c954610e65b83656b4289006024c7fef238dd1964df38cc61
|
7
|
+
data.tar.gz: 4cc12b88e0f35fa7ff082303babcd00dc1d467903544e6b93fbcd6b2002063071abff8a10dc0c43a9dcc8d9c36d62057b8d92d52285bc4ac337f4e7f40888f85
|
data/lib/casino_hub.rb
CHANGED
@@ -20,18 +20,18 @@ module CasinoHub
|
|
20
20
|
@source = nil
|
21
21
|
|
22
22
|
class << self
|
23
|
-
attr_accessor :api_version,
|
23
|
+
attr_accessor :api_version,
|
24
|
+
:api_base,
|
25
|
+
:company_token,
|
26
|
+
:source
|
24
27
|
|
25
28
|
def api_version=(version=1.0)
|
26
29
|
@api_version = version
|
27
30
|
end
|
28
31
|
|
29
32
|
# change base url based on env
|
30
|
-
def
|
31
|
-
@
|
32
|
-
if env != 'production'
|
33
|
-
@api_base = 'https://casino.openfan.net/api'
|
34
|
-
end
|
33
|
+
def base_url=(api_base_url)
|
34
|
+
@api_base = api_base_url
|
35
35
|
end
|
36
36
|
|
37
37
|
def source
|
data/lib/casino_hub/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: casino_hub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Devhub
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|