volcano-sdk 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fbcad5adcb6e4e3367b5401dc7e77f06d23d1a92e96fa9ba00f2d971efd72aa8
4
- data.tar.gz: 5976dd6a36333e57a92811d12d5e719a9f85eac063bd62d1ed24c87f5d3afe38
3
+ metadata.gz: 7e541d3412a9e473a86688b412170ed04c08a222a0d1ff6a9a65f8c5b9ed234f
4
+ data.tar.gz: 3402f5f718bfd2ec0d436730bb45e17f578b033baeffcfc9be7a20e9964ef19d
5
5
  SHA512:
6
- metadata.gz: 53cf3504e31c2d32dce16dc937659f2b37b96b233149dfaa800a46f45af13d37dd523c85375f1a94524f7355402b7c5bbb958be8388abc47345f4522367a9b77
7
- data.tar.gz: f06fb38ea3cc632189f3307466ed061646e24849ac8163cf37bc163aa33bc4ae9890d2a42a3a55d100e9755132f757cccb231950177bca512daadcdaaf868fc1
6
+ metadata.gz: ad1bdfd22677ac16f6b50d45784e510c447021c5787feaba9d0d0b02856b3280c750b4a8cec3598093d16bf69b14e85f3af9fb9fcb1a97cf860f7b89e7d0e6dc
7
+ data.tar.gz: c6255819d2a882a7a13c284b1ff0519f004203613bdbc2e709ed0cc48dc4875868bf0895ec69a0129feb2ccea0ec3a07a0c5ae0a79c7a8ab7689eafcbf1b2eef
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Volcano
4
- VERSION = '0.16.0'
4
+ VERSION = '0.17.0'
5
5
  end
@@ -0,0 +1,22 @@
1
+ module Volcano
2
+ class FunctionResponse < Data
3
+ attr_reader data: json_value
4
+ attr_reader status: Integer
5
+ attr_reader headers: Hash[String, String]
6
+ attr_reader version: String?
7
+
8
+ def self.new: (json_value data, Integer status, Hash[String, String] headers, String? version) -> FunctionResponse
9
+ | (data: json_value, status: Integer, headers: Hash[String, String], version: String?) -> FunctionResponse
10
+ def self.[]: (json_value data, Integer status, Hash[String, String] headers, String? version) -> FunctionResponse
11
+ | (data: json_value, status: Integer, headers: Hash[String, String], version: String?) -> FunctionResponse
12
+ def self.members: () -> [:data, :status, :headers, :version]
13
+
14
+ def initialize: (data: json_value, status: Integer, headers: Hash[String, String], version: String?) -> void
15
+ def members: () -> [:data, :status, :headers, :version]
16
+ def with: (?data: json_value, ?status: Integer, ?headers: Hash[String, String], ?version: String?) -> FunctionResponse
17
+ def to_h: () -> { data: json_value, status: Integer, headers: Hash[String, String], version: String? }
18
+ | [K, V] () { (Symbol, json_value | Integer | Hash[String, String] | nil) -> [K, V] } -> Hash[K, V]
19
+ def deconstruct: () -> [json_value, Integer, Hash[String, String], String?]
20
+ def deconstruct_keys: (Array[Symbol]?) -> Hash[Symbol, json_value | Integer | Hash[String, String] | nil]
21
+ end
22
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volcano-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kong
@@ -606,6 +606,7 @@ files:
606
606
  - sig/connection_string.rbs
607
607
  - sig/email_change_result.rbs
608
608
  - sig/errors.rbs
609
+ - sig/function_response.rbs
609
610
  - sig/lock_records.rbs
610
611
  - sig/session.rbs
611
612
  - sig/sign_up_result.rbs