lolcation_client 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lolcation_client/configurations.rb +1 -3
- data/lib/lolcation_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ad80fc8f98bed7e355132d27b7a41987e05b774
|
4
|
+
data.tar.gz: 9b7c438954a5efaf3cde8dff9c9e63de36db529a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 713322e5a6a404f21dbd2609fd1fd663992a99fe6b5e459d6d248b76b9756fed9d14399084f7b050fb844eb521f6e69241c9f3dec18ac68809d3fc32a34ee42d
|
7
|
+
data.tar.gz: 29fd6c962e0c47db1c4648e80ae6138bf0fa407bc86b412b6c385600acf01c6370d21cc55538279291376e11c17da6d4d92c353ad68278fa8bd692b9f013bb31
|
@@ -1,9 +1,7 @@
|
|
1
1
|
module LolcationClient
|
2
2
|
module Configurations
|
3
3
|
API = "/api/v1/localizations"
|
4
|
-
URL = Rails.env.development?
|
5
|
-
? "http://localhost:8000#{API}"
|
6
|
-
: "https://lolcation-service.loldesign.com.br#{API}"
|
4
|
+
URL = Rails.env.development? ? "http://localhost:8000#{API}" : "https://lolcation-service.loldesign.com.br#{API}"
|
7
5
|
|
8
6
|
def configs
|
9
7
|
Rails.application.config_for(:lolcation)
|