Sha256: 9eb6728e8a52834445fb4a58cdebd6e3d021cef3d9c2fc6a1cd657992958b158
Contents?: true
Size: 408 Bytes
Versions: 6
Compression:
Stored size: 408 Bytes
Contents
require 'json' class Skein::RPC::Base # == Exceptions =========================================================== # == Properties =========================================================== attr_accessor :id # == Instance Methods ===================================================== def to_h { id: self.id } end def to_json JSON.dump( self.to_h ) end end
Version data entries
6 entries across 6 versions & 1 rubygems