Class: Bitbuckit::User
- Inherits:
-
Object
- Object
- Bitbuckit::User
- Defined in:
- lib/bitbuckit/user.rb
Class Method Summary collapse
Class Method Details
.path(user) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/bitbuckit/user.rb', line 3 def self.path(user) case user when String "users/#{user}" else "user" end end |