Module: Saasable::Railties::Helpers::InstanceMethods

Defined in:
lib/saasable/railties/helpers.rb

Instance Method Summary collapse

Instance Method Details

#current_saasObject



46
47
48
# File 'lib/saasable/railties/helpers.rb', line 46

def current_saas
  Saasable::Mongoid::SaasDocument.active_saas
end