daazweb-api 0.0.8 → 0.0.11

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: e6bc46341c3f2d8b5017c909afe12c15e1e2b475bc6103e3b85b3eb13ff2b97b
4
- data.tar.gz: 6c4d307afa5195537bc5248a40d2bfccfe2fb3408d237744a32c596132fc5f9e
3
+ metadata.gz: 3e14bcf8a7937226c7a9cacb6ab3b43ad68db912e8b21f1fa7758d3d1dc8487b
4
+ data.tar.gz: a5dd730997b8cbb7e7b9f8e06ef6e6d30164c33f67edf71f226c86adc2187920
5
5
  SHA512:
6
- metadata.gz: 7f908e4d4fc9975694dc13c660e2b0a0dca93fffae0816a67d5c36debf9021fd5f2e377539b572a3502b4c0cae86f753cbd8a3e7675c7abfcda86eb4be28640a
7
- data.tar.gz: 9c3abd81666ac49446ffbef3ddf46fcc41528a8c7310501d06fff0caa578376507ba5edbfc0f8e0a59d7c72d6dbd524a62d078a6ac97ea6b1d6680ba95799488
6
+ metadata.gz: '098f9f37535afb74c283dcd7432026e24ecd1da2066629ec716a4e6d7ab2c66ac413b2dc74dfc29eebf335a5fb51fe33b7d04b2d753c9164a1e4ebb60b080acb'
7
+ data.tar.gz: a4739b53cd346c77f07a267b74b85c45ee93f6a7a4ae3b0333c7eb3ea7c5977b5038f864561db0e05a8e3b785feaff3be48835b538a87585c736236ec8b3e12d
@@ -139,7 +139,7 @@ module DaazwebApi
139
139
  end
140
140
 
141
141
  def api_url
142
- base_api_url + @request_builder.path
142
+ base_api_url + @request_builder.path + "/"
143
143
  end
144
144
 
145
145
  def base_api_url
@@ -46,14 +46,14 @@ module DaazwebApi
46
46
  @path_parts.join('/')
47
47
  end
48
48
 
49
- def create(params: nil, headers: nil, body: {}, suffix: 'create')
50
- APIRequest.new(builder: self).post(params: params, headers: headers, suffix: suffix, body: body)
49
+ def create(params: nil, headers: nil, body: {})
50
+ APIRequest.new(builder: self).post(params: params, headers: headers, body: body)
51
51
  ensure
52
52
  reset
53
53
  end
54
54
 
55
55
  def update(params: nil, headers: nil, body: {})
56
- APIRequest.new(builder: self).post(params: params, headers: headers, suffix: 'edit', body: body)
56
+ APIRequest.new(builder: self).post(params: params, headers: headers, body: body)
57
57
  ensure
58
58
  reset
59
59
  end
@@ -65,7 +65,7 @@ module DaazwebApi
65
65
  end
66
66
 
67
67
  def delete(params: nil, headers: nil, body: {})
68
- APIRequest.new(builder: self).post(params: params, headers: headers, body: {}, suffix: 'delete')
68
+ APIRequest.new(builder: self).post(params: params, headers: headers, body: {})
69
69
  ensure
70
70
  reset
71
71
  end
@@ -1,3 +1,3 @@
1
1
  module DaazwebApi
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.11"
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.8
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Osetrov