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

Inherits:
BaseResource 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

#[], 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

#messageString

Human-readable explanation of why access was denied.

Returns:

  • (String)


132
133
134
# File 'lib/seam/resources/event.rb', line 132

def message
  @message
end

#reason_codeString

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

Returns:

  • (String)


135
136
137
# File 'lib/seam/resources/event.rb', line 135

def reason_code
  @reason_code
end