Skip to content

Commit

Permalink
Make set_public_tenanted private
Browse files Browse the repository at this point in the history
This method is meant to be used from within the class, not externally
  • Loading branch information
dspencer001 committed Nov 24, 2024
1 parent b6444e2 commit 1ad652f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/atomic_tenant/tenantable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ def in_current_tenant
end

class_methods do
private

def set_public_tenanted
AtomicTenant::Tenantable.register_public_tenanted_model(self)
self.is_tenanted = false
Expand Down

0 comments on commit 1ad652f

Please sign in to comment.