lib/stackone/models/shared/questionnaire.rb in stackone_client-0.0.1 vs lib/stackone/models/shared/questionnaire.rb in stackone_client-0.0.2
- old
+ new
@@ -7,16 +7,16 @@
require 'faraday'
module StackOne
module Shared
- class Questionnaire < StackOne::Utils::FieldAugmented
+ class Questionnaire < ::StackOne::Utils::FieldAugmented
extend T::Sig
- field :answers, T::Array[Shared::Answer], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('answers') } }
+ field :answers, T::Array[Shared::Answer], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('answers') } }
# Unique identifier of the questionnaire
- field :id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('id') } }
+ field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
sig { params(answers: T::Array[Shared::Answer], id: T.nilable(String)).void }
def initialize(answers: nil, id: nil)
@answers = answers