mirror of
https://github.com/ditkrg/rabbit_carrots.git
synced 2026-01-22 22:06:40 +00:00
Merge pull request #9 from arikarim/orm-set
feat: Add setter for ORM configuration.
This commit is contained in:
commit
c5e10bd9e2
@ -23,5 +23,9 @@ module RabbitCarrots
|
|||||||
def orm
|
def orm
|
||||||
@orm ||= :activerecord
|
@orm ||= :activerecord
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def orm=(value)
|
||||||
|
@orm = value
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module RabbitCarrots
|
module RabbitCarrots
|
||||||
VERSION = '1.0.4'
|
VERSION = '1.0.5'
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user