near_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: f3329e91efbd5b305744e92c0edd739a7fbdada5a40f412bc75594ea04d463d1
4
- data.tar.gz: 5e3543eda45e4d65ae1014beb90152708ed697df3c5896aa4d2aa49b22004d83
3
+ metadata.gz: 2a1e7300ba5960960eae405d29da902ce972b51e10aec298a8a438cc93fdf185
4
+ data.tar.gz: 84deaf2b6f1325b9d5a15241cd56e311abc3119958d809d055c9bca10813173a
5
5
  SHA512:
6
- metadata.gz: 2eb64ba5ecb1cfaacb14ded64a31d2605dc8fa14cd7d8fd7388840e5227a99732a6bb8edf6e83f759c3ee3eb1e39b722565d6f34bbd0353c54b5ce2eb9fa7d95
7
- data.tar.gz: dcca8c7e39e47f4b111f22371fc384fd194625bfae3c333a69039ad9bb56ae9f3cb9d7119e3ff4771af61e1db387b76476ed7c427b6d88600067ccf6fc350d12
6
+ metadata.gz: cc0f0cf9213c9c0b2480cbd043aea1c7c54dd61b1e6150c7db21570072f499d20c23ff2973b8738afe56f40084d6cccb0f173cd548bb3b73427a18a01dbf8030
7
+ data.tar.gz: 7650ee6aa625a77593f178ba0e091a30c98d1dfd6bd8622f42c29d26181c2e1699ef47b3e1f0c182b44d04e1ca26f64a299d733158a8fc5460a7dbaec427c901
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NearApi
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
data/lib/near_api.rb CHANGED
@@ -15,5 +15,12 @@ require_relative "near_api/base58"
15
15
 
16
16
  module NearApi
17
17
  class Error < StandardError; end
18
- # Your code goes here...
18
+
19
+ def self.config
20
+ @config ||= Config.new
21
+ end
22
+
23
+ def config=(config)
24
+ @config = config
25
+ end
19
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: near_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
  - Serg Tyatin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-16 00:00:00.000000000 Z
11
+ date: 2021-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: borsh-rb