Sha256: 23e16df323d3de39c593e91ab7ee2de185fc75bc10c875e8c19eb969c3f3d6c0
Contents?: true
Size: 562 Bytes
Versions: 8
Compression:
Stored size: 562 Bytes
Contents
module ISACA module Model class GetUserByID attr_accessor :active_member attr_accessor :expiration_date attr_accessor :member_type attr_accessor :imis_id def initialize(hash) @active_member = ISACA::Helpers.parse_boolean(hash['ActiveMember']) @expiration_date = ISACA::Helpers.strptime(hash['ExpirationDate']) @member_type = ISACA::Helpers.normalize_member_type(hash['MemberType']) @imis_id = hash['iMISID'] end def active_member? active_member end end end end
Version data entries
8 entries across 8 versions & 1 rubygems