class Glueby::AR::SystemInformation

Public Class Methods

synced_block_height() click to toggle source
# File lib/glueby/active_record/system_information.rb, line 5
def self.synced_block_height
  SystemInformation.find_by(info_key: "synced_block_number")
end

Public Instance Methods

int_value() click to toggle source
# File lib/glueby/active_record/system_information.rb, line 9
def int_value
  info_value.to_i
end