lib/stackone/models/shared/resultlink.rb in stackone_client-0.0.1 vs lib/stackone/models/shared/resultlink.rb in stackone_client-0.0.2
- old
+ new
@@ -7,16 +7,16 @@
require 'faraday'
module StackOne
module Shared
- class ResultLink < StackOne::Utils::FieldAugmented
+ class ResultLink < ::StackOne::Utils::FieldAugmented
extend T::Sig
# The URL of the result 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') } }
# The label of the result link.
- field :label, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('label') } }
+ field :label, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
sig { params(url: String, label: T.nilable(String)).void }
def initialize(url: nil, label: nil)
@url = url