struct

Cloud::Offer

Inherits JSON::Serializable < Struct < Value < Object

A GPU offer from a provider

Constructors

new(id : Int64, gpu_name : String, num_gpus : Int32, gpu_ram_mb : Int64, cpu_cores : Int32, cpu_ram_mb : Int64, disk_gb : Float64, price_per_hour : Float64, reliability : Float64, location : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

cpu_cores
Source
cpu_ram_mb
Source
disk_gb
Source
gpu_name
Source
gpu_ram_mb
Source
location
Source
num_gpus
Source
price_per_hour
Source
reliability
Source
to_s(io : IO)

Same as #inspect(io).

Source