Sha256: 915282ea85ef9588bed5bb71720dd108c39503e98c4ebdba6860bcbbfca6eebf
Contents?: true
Size: 855 Bytes
Versions: 2
Compression:
Stored size: 855 Bytes
Contents
# frozen_string_literal: true require_relative './representer/user_entitlement_request' module ONEAccess module DataObject class UserEntitlementRequest extend Serializable represented_by Representer::UserEntitlementRequest attr_accessor :id attr_accessor :create_date attr_accessor :update_date attr_accessor :notes attr_accessor :status attr_accessor :user attr_accessor :buy_side_org attr_accessor :sell_side_org attr_accessor :sell_side_user_groups def pending? status == EntitlementStatus::NONE end def approved? status == EntitlementStatus::APPROVED end def rejected? status == EntitlementStatus::REJECTED end def provisional? status == EntitlementStatus::PROVISIONAL end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
oneaccess-1.3.1 | lib/oneaccess/data_object/user_entitlement_request.rb |
oneaccess-1.3.0 | lib/oneaccess/data_object/user_entitlement_request.rb |