lib/stackone/models/shared/sociallink.rb in stackone_client-0.0.1 vs lib/stackone/models/shared/sociallink.rb in stackone_client-0.0.2

- old
+ new

@@ -7,16 +7,16 @@ require 'faraday' module StackOne module Shared - class SocialLink < StackOne::Utils::FieldAugmented + class SocialLink < ::StackOne::Utils::FieldAugmented extend T::Sig # Type of the social link - field :type, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('type') } } + field :type, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } # URL of the social link - field :url, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('url') } } + field :url, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } } sig { params(type: String, url: String).void } def initialize(type: nil, url: nil) @type = type