class Ollama::Commands::Push
def self.path
def self.path '/api/push' end
def initialize(model:, insecure: nil, stream: true)
def initialize(model:, insecure: nil, stream: true) @model, @insecure, @stream = model, insecure, stream end
def perform(handler)
def perform(handler) @client.request(method: :post, path: self.class.path, body: to_json, stream:, handler:) end