mirror of
https://github.com/ditkrg/outboxable.git
synced 2026-01-22 13:56:49 +00:00
Removes extra argument
This commit is contained in:
parent
4de6891945
commit
13b2013f3f
@ -5,8 +5,8 @@ module Outboxable
|
||||
source_root File.expand_path('../../templates', __dir__)
|
||||
class_option :orm, type: :string, default: 'activerecord'
|
||||
|
||||
def initialize(*)
|
||||
super(*)
|
||||
def initialize
|
||||
super
|
||||
|
||||
@orm = options[:orm] || 'activerecord'
|
||||
%w[activerecord mongoid].include?(@orm) || raise(ArgumentError, 'Invalid ORM. Only ActiveRecord and Mongoid are supported.')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user