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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bea790088c1ae7decb4dd0ec00f50278c204a0a57d0319560e5850f8bc8e89d4
4
- data.tar.gz: 62a52098c2d2aa50eb85195e07184d5188b3bb386649fba0019b8da8ff976d8e
3
+ metadata.gz: e187c2824a55927edbd77f8a33488c5a82fc78abb57e7069fc419b7698786f94
4
+ data.tar.gz: deae5d26a0b572557eaade0e1c6a3597921c07fc146be693adb01a4bb4671a97
5
5
  SHA512:
6
- metadata.gz: 64a99888d7968591a04d09f96399069226b63df0132c7e2fc9f6ff0b8bd9a80e75cbd1d2ae03dfb4077aee303e172ce6e39c2d8882c70b99235fe13e29de7ee2
7
- data.tar.gz: b9f6ff1b1d442729fd177b1b012c28a8ac6af6e1e22043e54cf5d640938427688910883fa3657c7207ed825f641e80a830bcaf2b696774937d82bb1718a4cefe
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, :api_base, :company_token, :source
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 environment=(env)
31
- @environment = env
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
@@ -1,3 +1,3 @@
1
1
  module CasinoHub
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
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.3.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-06-12 00:00:00.000000000 Z
11
+ date: 2018-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler