lib/gooddata/models/profile.rb in gooddata-0.6.0.pre11 vs lib/gooddata/models/profile.rb in gooddata-0.6.0
- old
+ new
@@ -1,5 +1,7 @@
+# encoding: UTF-8
+
module GoodData
class Profile
private_class_method :new
attr_reader :user
@@ -24,9 +26,9 @@
private
def initialize
@json = GoodData.get GoodData.connection.user['profile']
- @user = @json['accountSetting']['firstName'] + " " + @json['accountSetting']['lastName']
+ @user = @json['accountSetting']['firstName'] + ' ' + @json['accountSetting']['lastName']
end
end
end
\ No newline at end of file