daazweb-api 0.0.7 → 0.0.10

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: a40e502dfbbeb84134f842a8000b6ce58091197efe8171ea56ab44a023e0e179
4
- data.tar.gz: 5d71c61a67a26ab9039b788cb61cae5e379eb6c4b1a42739da8390fb36140900
3
+ metadata.gz: 6eb788a059c8c5b0c6dd37801832b9fe2b66b822d7bc17ada6b94cb32a2a3538
4
+ data.tar.gz: 73cda037db964f0a398e4d38c589182f1eead0586100d5d8c69bfeae6779a153
5
5
  SHA512:
6
- metadata.gz: 56fe99622275b2b1d3975d10607b7a93d08d982a447e8ddc1e7e34f7045c8b02f381342436abfeabe249c4c36fcc31311a9a9c765f038593cda22f961fb51026
7
- data.tar.gz: 61c542b596c0de871ae136db64cc91d0d11e69a7ab9ee226c81dee575924f5fac7c732ab8398d875774e1410dafe73f171de6a07f67855dc3cb4821ba6377123
6
+ metadata.gz: 7122c673499488fd4db00f713e8c07f1c2d14d78959c5bf555b0a95bf560d806fa6fd81adf1b5c98e21aea38d9a0318b36605b97f56d15acda98447811c25bc0
7
+ data.tar.gz: 5c9459953758d061db037c8ac124fe422d0ae7cb6678eb00e7532c4715f96db90100f00a25eefd3c907c8f77795ecd3cc0755dd2d5746bd13111a49345b7a3f5
@@ -92,6 +92,7 @@ module DaazwebApi
92
92
  def configure_request(request: nil, params: nil, headers: nil, body: nil)
93
93
  if request
94
94
  request.params.merge!(params) if params
95
+ request.headers = {}
95
96
  request.headers['Content-Type'] = 'application/json'
96
97
  request.headers['Authorization'] = "Bearer #{self.access_token}"
97
98
  request.headers['User-Agent'] = "DaazwebApi/#{DaazwebApi::VERSION} Ruby gem"
@@ -138,7 +139,7 @@ module DaazwebApi
138
139
  end
139
140
 
140
141
  def api_url
141
- base_api_url + @request_builder.path
142
+ base_api_url + @request_builder.path + "/"
142
143
  end
143
144
 
144
145
  def base_api_url
@@ -1,3 +1,3 @@
1
1
  module DaazwebApi
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.10"
3
3
  end
data/lib/daazweb-api.rb CHANGED
@@ -8,7 +8,7 @@ require 'daazweb-api/response'
8
8
 
9
9
  module DaazwebApi
10
10
 
11
- API_ENDPOINT = "https://daazweb.com"
11
+ API_ENDPOINT = "https://bitconce.com"
12
12
 
13
13
  class << self
14
14
  def setup
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daazweb-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Osetrov