lib/inboxable.rb in inboxable-0.1.0 vs lib/inboxable.rb in inboxable-0.1.1
- old
+ new
@@ -8,9 +8,13 @@
class Error < StandardError; end
class << self
attr_accessor :configuration
+ def inbox_model
+ @configuration.inbox_model.constantize
+ end
+
def configure
@configuration ||= Configuration.new
yield(@configuration) if block_given?
end
end