ince-api 0.1.1 → 0.1.2

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: b2374cc36e7cb009bc8942812d48efa5ca18fda048d2ab37ef6b33a9443b3ca1
4
- data.tar.gz: 837ed789a53b270f5c8e9881b62f94e5311efafeb0ca5d0c3a45efeb56f57050
3
+ metadata.gz: d9c29a91fac4424a3df093e22fb7fd3efdf35fbeec8afb98365e3e510649a0d7
4
+ data.tar.gz: 2d1290f5a1a64061cf26fa37f5513b012856023e525fba5fce5e298c4d55db9c
5
5
  SHA512:
6
- metadata.gz: d22eb5b2262fe60bf237bd1d3bb0f7411386c9275d63d25737b2faa229e4a1756201ca5c3d599bcdb160386a0ed41eb1bcb837504d7d2882a1096cc09cbccd7d
7
- data.tar.gz: d1dbb953c2ad80b43653fdd61715295729da61e4c0194c2a883b4d1583ee2358a0b400e6eb6336a5ec4a759aa9e0b89f97a200b627197893b7c9ecbb09b31925
6
+ metadata.gz: 1c3267ad2830c8e1952f9d2d76b0116b6bebb7401244d27b9e01b867a878524713ab1877013de4b5840684e4e35691e945a115e716ca2f045732e9af5a7e43b8
7
+ data.tar.gz: a1715d6f54277a3ab61cf079f34c40a6b93b2f8664f88e385a8dbaf418a6719cdcd8a61459ba345b405b9de392c1c70768d97959626579c39a9007aabd529e69
data/ince-api.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'ince-api'
3
- s.version = '0.1.1'
3
+ s.version = '0.1.2'
4
4
  s.summary = "1nce API wrapper"
5
5
  s.description = "A simple wrapper for 1nce API"
6
6
  s.authors = ["Stanislaw Zawadzki"]
@@ -27,7 +27,7 @@ module InceApi
27
27
  end
28
28
 
29
29
  def request
30
- Net::HTTP::POST.new(url).tap do |request|
30
+ Net::HTTP::Post.new(url).tap do |request|
31
31
  request["Accept"] = 'application/json'
32
32
  request['Authorization'] = "Bearer #{@access_token}"
33
33
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ince-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanislaw Zawadzki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-26 00:00:00.000000000 Z
11
+ date: 2022-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uri