Class: Seam::Resources::AcsUser::SaltoKsMetadata

Inherits:
BaseResource
  • Object
show all
Defined in:
lib/seam/resources/acs_user.rb

Instance Attribute Summary collapse

Attributes inherited from BaseResource

#client, #data

Method Summary

Methods inherited from BaseResource

#[], date_accessor, #initialize, #inspect, load_from_response, resource_accessor, resource_accessors, resource_list_accessor, resource_list_accessors, #update_from_response

Constructor Details

This class inherits a constructor from Seam::Resources::BaseResource

Instance Attribute Details

#is_subscribedBoolean?

Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from is_suspended, which reflects whether the user has been explicitly blocked.

Returns:

  • (Boolean, nil)


110
111
112
# File 'lib/seam/resources/acs_user.rb', line 110

def is_subscribed
  @is_subscribed
end