class Teamsupport::Customer
Attributes
@return [String]
@return [String]
@return [Integer]
@return [String]
@return [Integer]
@return [String]
@return [Integer]
@return [String]
@return [String]
@return [String]
@return [Integer]
@return [String]
@return [String]
@return [Integer]
@return [String]
@return [String]
@return [Integer]
@return [Integer]
@return [String]
@return [Integer]
@return [Integer]
@return [Integer]
@return [String]
Public Instance Methods
Boolean indicating whether a Customer
has portal access on Teamsupport
@example
teamsupport_customer = Teamsupport::Customer.new(HasPortalAccess: true) teamsupport_customer.HasPortalAccess
@return [Boolean]
@api public
# File lib/teamsupport/customer.rb, line 36 def HasPortalAccess # rubocop:disable Style/MethodName @attrs[:HasPortalAccess] == 'True' ? true : false end
Boolean indicating whether a Customer
is active on Teamsupport
@example
teamsupport_customer = Teamsupport::Customer.new(IsActive: true) teamsupport_customer.IsActive
@return [Boolean]
@api public
# File lib/teamsupport/customer.rb, line 23 def IsActive # rubocop:disable Style/MethodName @attrs[:IsActive] == 'True' ? true : false end
Boolean indicating whether a Customer
needs indexing on Teamsupport
@example
teamsupport_customer = Teamsupport::Customer.new(NeedsIndexing: true) teamsupport_customer.NeedsIndexing
@return [Boolean]
@api public
# File lib/teamsupport/customer.rb, line 49 def NeedsIndexing # rubocop:disable Style/MethodName @attrs[:NeedsIndexing] == 'True' ? true : false end
Time when the Customer's Service Agreement expires on Teamsupport
@example
teamsupport_customer = Teamsupport::Customer.new(SAExpirationDate: '4/4/2015 10:15 AM') teamsupport_customer.SAExpirationDate
@return [Time]
@api public
# File lib/teamsupport/customer.rb, line 62 def SAExpirationDate # rubocop:disable Style/MethodName Time.strptime(@attrs[:SAExpirationDate], '%m/%d/%Y %l:%M %p').utc unless @attrs[:SAExpirationDate].nil? end