Class: Browsable::AuditLog::Entry

Inherits:
Data
  • Object
show all
Defined in:
lib/browsable/audit_log.rb

Overview

One observed response.

endpoint     "PostsController#show"
request_path "/posts/42"
policy       Browsable::Policy (the effective policy for this endpoint)
html         the rendered response body as a String
asset_paths  Array<HtmlExtractor::AssetRef>
inline_blocks Array<HtmlExtractor::InlineBlock>
recorded_at  Time (used for debugging only, not analysis)

Instance Attribute Summary collapse

Instance Attribute Details

#asset_pathsObject (readonly)

Returns the value of attribute asset_paths

Returns:

  • (Object)

    the current value of asset_paths



23
24
25
# File 'lib/browsable/audit_log.rb', line 23

def asset_paths
  @asset_paths
end

#endpointObject (readonly)

Returns the value of attribute endpoint

Returns:

  • (Object)

    the current value of endpoint



23
24
25
# File 'lib/browsable/audit_log.rb', line 23

def endpoint
  @endpoint
end

#htmlObject (readonly)

Returns the value of attribute html

Returns:

  • (Object)

    the current value of html



23
24
25
# File 'lib/browsable/audit_log.rb', line 23

def html
  @html
end

#inline_blocksObject (readonly)

Returns the value of attribute inline_blocks

Returns:

  • (Object)

    the current value of inline_blocks



23
24
25
# File 'lib/browsable/audit_log.rb', line 23

def inline_blocks
  @inline_blocks
end

#policyObject (readonly)

Returns the value of attribute policy

Returns:

  • (Object)

    the current value of policy



23
24
25
# File 'lib/browsable/audit_log.rb', line 23

def policy
  @policy
end

#recorded_atObject (readonly)

Returns the value of attribute recorded_at

Returns:

  • (Object)

    the current value of recorded_at



23
24
25
# File 'lib/browsable/audit_log.rb', line 23

def recorded_at
  @recorded_at
end

#request_pathObject (readonly)

Returns the value of attribute request_path

Returns:

  • (Object)

    the current value of request_path



23
24
25
# File 'lib/browsable/audit_log.rb', line 23

def request_path
  @request_path
end