Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

simplify class definition

  • Loading branch information...
commit 8f339c73a8c795d2ad8559fecf18ac15f166aef6 1 parent 4d01ec5
Gary Bernhardt authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  design_experiment/posts.rb
2  design_experiment/posts.rb
@@ -2,7 +2,7 @@
2 2
3 3 module Interactors
4 4 class CreatePost
5   - class PostSaved < Struct.new(:current_user, :post); end
  5 + PostSaved = Struct.new(:current_user, :post)
6 6 class ValidationFailure < RuntimeError
7 7 takes :current_user, :post
8 8 end

0 comments on commit 8f339c7

Please sign in to comment.
Something went wrong with that request. Please try again.