Class: Seam::Resources::SeamEvent::LockAccessDenied::Reason

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

Instance Attribute Summary collapse

Attributes inherited from BaseResource

#client, #data

Method Summary

Methods inherited from BaseResource

#[], aliased_accessor, attribute_aliases, date_accessor, discriminated_by, #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

#messageString

Human-readable explanation of why access was denied.

Returns:

  • (String)


4404
4405
4406
# File 'lib/seam/resources/event.rb', line 4404

def message
  @message
end

#reason_codeString

Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. Known values:

  • unknown_code
  • expired_code
  • blocklisted_code
  • too_many_attempts
  • blocked_by_privacy_mode
  • credential_error

Returns:

  • (String)


4414
4415
4416
# File 'lib/seam/resources/event.rb', line 4414

def reason_code
  @reason_code
end