module Jamf::ManagementHistory::HashLike

This is mixed in to the history event classes to provide hash-like access to their attributes, so that

some_event[:date_time]

works the same as

some_event.date_time

just as with OpenStruct objects

Public Instance Methods

[](attr) click to toggle source
   # File lib/jamf/api/classic/api_objects/management_history/hash_like.rb
40 def [](attr)
41   send attr.to_sym
42 end