Skip to content

Instantly share code, notes, and snippets.

@laserlemon
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laserlemon/9a77033b9d1b80859848 to your computer and use it in GitHub Desktop.
Save laserlemon/9a77033b9d1b80859848 to your computer and use it in GitHub Desktop.
Proposed Interactor v4 API
class FinishOptimization
include Interactor::Organizer
organize CommitImages
organize PushImages,
CreateOrUpdatePullRequest,
MarkAsFinished, if: -> { context.optimized_commit_sha }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment