gdexpress 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: 3730a427307db30142dc447e940c92b800b84a64
4
- data.tar.gz: e780c34b3225099c70fbd2e18d4b8a69aaa44062
3
+ metadata.gz: 84c9da46ca168d64a7ddaf1bdb4b15e0647934e5
4
+ data.tar.gz: cafd79fcd51ba1a2cb59b9217688ceb24d17121a
5
5
  SHA512:
6
- metadata.gz: e1a40307ecf4a3d1dc7a837935b924a3a22f4a9875c866b4cc9d4fd3b5f37da69eb1dc0f5b78f3e38712eea76e586eb9eb5279a949776dfef0ee6e914bef16e1
7
- data.tar.gz: 3a599f459ee312f4d8d32aaa3d7a92cf3c5b632b9bb6dcb73b7370185b6a8249c7b4bbffd7f186aa58745a83653daf770e06e62e9fa4b4e3f724c77bebfb8087
6
+ metadata.gz: 1bcc26c5b6f1d46087481480a3be03fb77ebd08a281505179891f011ad2a1dd70f86e800c30c0f7b93777f76d904906f0353e4e7cb119d120cebd49f9702fd36
7
+ data.tar.gz: 62a9cf1348e20e6d2c2e4cc2be5ef551408f019c575139fe149d87614c930ee4f36bccd159d5900d7a55ba424a2ca44ddc968ccae9dd464f2b860a2a23a6fd6b
@@ -4,7 +4,7 @@ module Gdexpress
4
4
  class Client
5
5
 
6
6
  CONFIG_OPTIONS = [:api_token, :dte_box, :environment]
7
- ENVIROMENTS = {
7
+ GD_ENVIRONMENTS = {
8
8
  testing: "T",
9
9
  production: "P"
10
10
  }
@@ -96,7 +96,7 @@ module Gdexpress
96
96
  end
97
97
 
98
98
  def make_uri(dte, method)
99
- base_uri = "http://#{dte_box}#{API_ENDPOINTS[method.to_sym]}#{ENVIROMENTS[environment]}/"
99
+ base_uri = "http://#{dte_box}#{API_ENDPOINTS[method.to_sym]}#{GD_ENVIRONMENTS[environment.to_sym]}/"
100
100
 
101
101
  # Se tiene que poner 2 veces el rut cuando se pide PDF o XML
102
102
  # según lo que sale en http://IP_GD_BOX/api/Core.svc/core/help
@@ -1,3 +1,3 @@
1
1
  module Gdexpress
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdexpress
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patricio Bruna
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-18 00:00:00.000000000 Z
11
+ date: 2014-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri