class Tenantify::Resource
Attributes
correspondence[R]
Public Class Methods
new(correspondence)
click to toggle source
# File lib/tenantify/resource.rb, line 7 def initialize correspondence @correspondence = correspondence end
Public Instance Methods
all()
click to toggle source
# File lib/tenantify/resource.rb, line 15 def all correspondence end
current()
click to toggle source
# File lib/tenantify/resource.rb, line 11 def current correspondence.fetch(Tenant.current) end
each(&block)
click to toggle source
# File lib/tenantify/resource.rb, line 19 def each &block correspondence.each &block end