Sha256: 3b92eb14f26779f60e16f6c487e480a3849e0d09af559c091c07b11d840f5109

Contents?: true

Size: 277 Bytes

Versions: 1

Compression:

Stored size: 277 Bytes

Contents

# frozen_string_literal: true

module Roseflow
  module OpenAI
    module Operations
      class Base < Dry::Struct
        transform_keys(&:to_sym)

        attribute :model, Types::String

        def body
          to_h.except(:path)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roseflow-openai-0.2.0 lib/roseflow/openai/operations/base.rb