public
Created

namespacing

  • Download Gist
nsmodules.rb
Ruby
1 2 3 4 5 6 7 8 9 10
# app/services/services.rb
module Services;end
 
# app/services/app_service.rb
module Services
module AppService
def authenticate(username, password, user)
end
end
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.