Skip to content

Instantly share code, notes, and snippets.

@andredublin
Created October 10, 2012 23:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andredublin/3869225 to your computer and use it in GitHub Desktop.
Save andredublin/3869225 to your computer and use it in GitHub Desktop.
namespacing
# app/services/services.rb
module Services;end
# app/services/app_service.rb
module Services
module AppService
def authenticate(username, password, user)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment