class Pirata::User
Attributes
profile_url[R]
username[R]
Public Class Methods
new(username)
click to toggle source
# File lib/pirata/user.rb, line 6 def initialize(username) @username = username @profile_url = "#{Pirata.config[:base_url]}/user/#{@username}" end
Public Instance Methods
to_s()
click to toggle source
# File lib/pirata/user.rb, line 11 def to_s @username end