Skip to content

Commit

Permalink
Update csv.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldrapper committed Feb 18, 2024
1 parent 839f219 commit 18bbf01
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/phlex/csv.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
class Report < Phlex::CSV
def template(user)
user => { id:, name:, email: }

column("id", id)
column("name", name)
column("email", email)
column("id", user.id)
column("name", user.name)
column("email", user.email)
end
end

Expand Down

0 comments on commit 18bbf01

Please sign in to comment.