lib/stack_one/models/shared/rawresponse.rb in stackone_client-0.2.2 vs lib/stack_one/models/shared/rawresponse.rb in stackone_client-0.2.3
- old
+ new
@@ -16,13 +16,13 @@
field :url, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
field :body, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('body') } }
- field :response, T.nilable(::StackOne::Shared::Response), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('response') } }
+ field :response, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('response') } }
- sig { params(method: ::String, url: ::String, body: T.nilable(::String), response: T.nilable(::StackOne::Shared::Response)).void }
+ sig { params(method: ::String, url: ::String, body: T.nilable(::String), response: T.nilable(T::Hash[Symbol, ::Object])).void }
def initialize(method: nil, url: nil, body: nil, response: nil)
@method = method
@url = url
@body = body
@response = response