supai 0.2.1 → 0.2.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: 37f3aa8a7bd54c6b4532627e27a6ac8022dd3f8891b84c5c1a826f460d131249
4
- data.tar.gz: b90054b34cdf5f0a149e1348ed5ed7d28ad6a21d02b3b6dbc59e817ff7eb9ba2
3
+ metadata.gz: d3bf2a373f6e377cf1352064f5c697e84f31dd51285651d8c6bfeb092c8e3b1c
4
+ data.tar.gz: 5eadd483116c42eb33311233c7f04570a561e72a015076dd68707fcb93ff1372
5
5
  SHA512:
6
- metadata.gz: 61caad8bfa33c8cb279911483b77047c4ddd2c6dcb6519d87d03acfc22d30db7eacb5fbc30abdd55b5c490ccb90d8aa971941670bd5a8d5439d98dc7387191ec
7
- data.tar.gz: facd22ab23431920082c5ca2cf82d11e26c660d807de6ff2f4e35c312978694955998ff9d6111ec54eea19ccceb8195e1acfce8e1677786448bef9152bf315df
6
+ metadata.gz: 31d71bc22b83eba9d4d22e451f75ea07afa997de735db9d04165b04dd6bfff718c535f6352f867b51696fc7377f194b56013871715dbfbbe8b9613399ec7f3c5
7
+ data.tar.gz: 3dfcd6138ec86ff46f1c9a0f051d5d5979af6a2c0a0307477bcb155b2e07916eb94f15146fb0895bbc4d1979f1aa6bed74866b119db294c0174303deac97bbd2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- supai (0.2.1)
4
+ supai (0.2.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -16,9 +16,8 @@ module Supai
16
16
  set_attributes(hash)
17
17
  end
18
18
 
19
- def authenticate_user(user_name:, password:, chain_id:)
19
+ def authenticate_user(user_name:, password:, chain_id:, api: API.new)
20
20
  endpoint = "/api/workbenchentry/v7/chains/#{chain_id}/authentication"
21
- api = API.new
22
21
  body = {
23
22
  "SessionToken": token,
24
23
  "UserName": user_name,
data/lib/supai/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Supai
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: supai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Yoder