Sha256: af1c2c5bef353725d5575e7c8ee510c1a0c58b9114bf2b11d69650dc64eaf346
Contents?: true
Size: 831 Bytes
Versions: 4
Compression:
Stored size: 831 Bytes
Contents
module Workarea module Listrak module Models class Event attr_reader :hash def initialize(hash) @hash = hash end # Identifier used to locate the event. # # @return [Integer] # def id hash["eventId"] end # Name given to the event. # # @return [String] # def name hash["eventName"] end # Identifier of the event group associated with the event. # # @return [Integer] # def group_id hash["eventGroupId"] end # Status of the event. Allowed values are Active and Blocked. # # @return [String] # def status hash["status"] end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems