daazweb-api 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1515e6a5e4deb2bd1deebc4c6296b8a2454db6dba50ca0d24e935f6a3384e9eb
4
- data.tar.gz: 0eb5053e8d756f82ae8fe8a8804e4a3b390d3cbdf5eebe9b31516b376d0e5980
3
+ metadata.gz: a40e502dfbbeb84134f842a8000b6ce58091197efe8171ea56ab44a023e0e179
4
+ data.tar.gz: 5d71c61a67a26ab9039b788cb61cae5e379eb6c4b1a42739da8390fb36140900
5
5
  SHA512:
6
- metadata.gz: 3f0bf59a764e3b7e4a07633c9ae7bff08e6e9f5413300555805e46491db19ed3f22b17b5ae0cba388b6ebbcd1bc846f6aaaef65edd62d0e10337344c9bf8122e
7
- data.tar.gz: 0fd9bd3fe3a89f7fd8357c915ef7ca259dafdecd7efa1c66176f3189a0058d872b1bae938d21b259ab3af62a98c2020cdb30813c9d3a46beffe5b6ebbfb1c683
6
+ metadata.gz: 56fe99622275b2b1d3975d10607b7a93d08d982a447e8ddc1e7e34f7045c8b02f381342436abfeabe249c4c36fcc31311a9a9c765f038593cda22f961fb51026
7
+ data.tar.gz: 61c542b596c0de871ae136db64cc91d0d11e69a7ab9ee226c81dee575924f5fac7c732ab8398d875774e1410dafe73f171de6a07f67855dc3cb4821ba6377123
@@ -93,7 +93,7 @@ module DaazwebApi
93
93
  if request
94
94
  request.params.merge!(params) if params
95
95
  request.headers['Content-Type'] = 'application/json'
96
- request.headers['Authorization'] = "Bearer #{DaazwebApi::Request.access_token}"
96
+ request.headers['Authorization'] = "Bearer #{self.access_token}"
97
97
  request.headers['User-Agent'] = "DaazwebApi/#{DaazwebApi::VERSION} Ruby gem"
98
98
  request.headers.merge!(headers) if headers
99
99
  request.body = MultiJson.dump(body) if body
@@ -1,3 +1,3 @@
1
1
  module DaazwebApi
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
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.space"
11
+ API_ENDPOINT = "https://daazweb.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.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Osetrov