Class: Pennyworth::Presenters::HTMX

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/pennyworth/presenters/htmx.rb

Overview

Shapes a htmx record for serialization.

Instance Method Summary collapse

Constructor Details

#initialize(record) ⇒ HTMX

Returns a new instance of HTMX.



13
14
15
# File 'lib/pennyworth/presenters/htmx.rb', line 13

def initialize record
  @record = record
end