Sha256: 8d78007cdb33f6835dbe905611359e23fe9e07bd335b7771d17d0cf9224ff2ea

Contents?: true

Size: 322 Bytes

Versions: 9

Compression:

Stored size: 322 Bytes

Contents

# frozen_string_literal: true

module RailsServerMonitor
  class ServerSnapshot < ApplicationRecord
    self.table_name = "rails_server_monitor_server_snapshots"

    belongs_to :rails_server_monitor_server, class_name: "RailsServerMonitor::Server"

    serialize :ram_stats, JSON
    serialize :hdd_stats, JSON
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails-server-monitor-0.2.1 app/models/rails_server_monitor/server_snapshot.rb
rails-server-monitor-0.2.0 app/models/rails_server_monitor/server_snapshot.rb
rails-server-monitor-0.1.10 app/models/rails_server_monitor/server_snapshot.rb
rails-server-monitor-0.1.9 app/models/rails_server_monitor/server_snapshot.rb
rails-server-monitor-0.1.8 app/models/rails_server_monitor/server_snapshot.rb
rails-server-monitor-0.1.7 app/models/rails_server_monitor/server_snapshot.rb
rails-server-monitor-0.1.6 app/models/rails_server_monitor/server_snapshot.rb
rails-server-monitor-0.1.5 app/models/rails_server_monitor/server_snapshot.rb
rails-server-monitor-0.1.4 app/models/rails_server_monitor/server_snapshot.rb