bbk-http 0.1.0.200752 → 0.1.0.200755

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: e533966aa616093e48a4ed94e29825c1866f91c1d9a36861616dabcf11c2b61f
4
- data.tar.gz: d51123b7ec2c312ebc3f8ef57560c62de17d816690738ee875b9db99afa80edd
3
+ metadata.gz: c700edecd71e8671b1db18fe5dcc1de2ac157ee13b5de2195a86eb65e9243a5b
4
+ data.tar.gz: b475e1dad2736fc63557e80f8d281b33ea7586b56744bfcb3ca4957d67cca487
5
5
  SHA512:
6
- metadata.gz: 050350b29893bc47ac825c5bebb15beeebf5ca733cb725d285743294fb8c0be4e0b8a0e8061faaa25d78897db92fa10effa5fcfc25ab593ccc5ed31291748b41
7
- data.tar.gz: b3a30670e62c9429a80e3797a28a7a48fab00b66fd59c6a1f208aabc1b5fba3dcef24e2e6acb226563965370438bd4deb41cd1a2599fd710e2ac8432907e9d9c
6
+ metadata.gz: 62f6485b7537e8b00347fe984daa8124af5217adf2e805966b175b9681a7ad32c2a68eb370b9646d06e02c070616fb9a6221901af89d6eddee8672306f6503b4
7
+ data.tar.gz: ff5a72f14e15508f02e3c86c74c5e6ee294af48b5f8c64404e403417c56d7bc1d5fc56e384790f1655767faf773edb0d6e77193ed8177cb833a041c886da5523
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bbk-http (0.1.0.200752)
4
+ bbk-http (0.1.0.200755)
5
5
  activesupport (>= 6.0)
6
6
  bbk-utils (> 1.0.1)
7
7
  faraday (~> 2.7.12)
@@ -3,9 +3,11 @@ module BBK
3
3
  class RouteInfo
4
4
 
5
5
 
6
+ DEFAULT_METHOD = :post
7
+
6
8
  attr_reader :uri, :method, :headers, :options
7
9
 
8
- def initialize(uri, method:, headers: {}, options: {})
10
+ def initialize(uri, method: DEFAULT_METHOD, headers: {}, options: {})
9
11
  @uri = uri
10
12
  @method = method
11
13
  @headers = headers
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bbk-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.200752
4
+ version: 0.1.0.200755
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samoylenko Yuri