Sha256: 870be8db1106ba65136bda2cb61bf739a735f6e014e9810fa612c047822be3fb
Contents?: true
Size: 225 Bytes
Versions: 5
Compression:
Stored size: 225 Bytes
Contents
class LessNeglectApi class Event < ApiObject attr_accessor :name, :magnitude def as_json(options={}) { :name => self.name, :magnitude => self.magnitude }.as_json(options) end end end
Version data entries
5 entries across 5 versions & 1 rubygems