class Curator::Event

Overview

Responsible for translating incoming event json data into a crystal object Adds some utility methods to ease interacting with event

Included Modules

Defined in:

event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def blank?(attribute : String) : Bool #

[View source]
def bld : String #

[View source]
def cur : String | Nil #

[View source]
def cur=(cur : String | Nil) #

[View source]
def evt : String #

[View source]
def loc : String #

[View source]
def lvl : String #

[View source]
def mod : String | Nil #

[View source]
def org : String #

[View source]
def ref : String | Nil #

[View source]
def ref=(ref : String | Nil) #

[View source]
def src : String #

[View source]
def to_h #

[View source]
def uts : Int64 #

[View source]
def val : Float64 #

[View source]
def value(attribute : String) #

[View source]