From ba5e9169c20ad45710014d260d478a92687d3a32 Mon Sep 17 00:00:00 2001 From: Kam Low Date: Thu, 20 Jun 2019 23:25:49 +0200 Subject: [PATCH] Add Repost module namespace to Action class (#1) * Add Repost module namespace Action class --- lib/repost/action.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/repost/action.rb b/lib/repost/action.rb index 547300b..19f28e0 100644 --- a/lib/repost/action.rb +++ b/lib/repost/action.rb @@ -1,6 +1,8 @@ -class Action - def self.perform(*args) - action = new(*args) - action.perform +module Repost + class Action + def self.perform(*args) + action = new(*args) + action.perform + end end end