test/test_cryptoapis.rb in sibit-0.21.8 vs test/test_cryptoapis.rb in sibit-0.22.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
-# Copyright (c) 2019-2021 Yegor Bugayenko
+# Copyright (c) 2019-2022 Yegor Bugayenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@@ -26,10 +26,10 @@
require_relative '../lib/sibit'
require_relative '../lib/sibit/cryptoapis'
# Sibit::Cryptoapis test.
# Author:: Yegor Bugayenko (yegor256@gmail.com)
-# Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
+# Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
# License:: MIT
class TestCryptoapis < Minitest::Test
def test_fetch_block
hash = '000000000000000007341915521967247f1dec17b3a311b8a8f4495392f1439b'
url = 'https://api.cryptoapis.io/v1/bc/btc/mainnet'