lib/stackone/models/shared/rawresponse.rb in stackone_client-0.0.1 vs lib/stackone/models/shared/rawresponse.rb in stackone_client-0.0.2
- old
+ new
@@ -7,30 +7,30 @@
require 'faraday'
module StackOne
module Shared
- class Response < StackOne::Utils::FieldAugmented
+ class Response < ::StackOne::Utils::FieldAugmented
extend T::Sig
def initialize; end
end
- class RawResponse < StackOne::Utils::FieldAugmented
+ class RawResponse < ::StackOne::Utils::FieldAugmented
extend T::Sig
- field :method, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('method') } }
+ field :method, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('method') } }
- field :url, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('url') } }
+ field :url, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
- field :body, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('body') } }
+ field :body, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('body') } }
- field :response, T.nilable(Shared::Response), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('response') } }
+ field :response, T.nilable(Shared::Response), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('response') } }
sig { params(method: String, url: String, body: T.nilable(String), response: T.nilable(Shared::Response)).void }
def initialize(method: nil, url: nil, body: nil, response: nil)
@method = method