lib/pupil/account.rb in pupil-0.2.2 vs lib/pupil/account.rb in pupil-0.3.0
- old
+ new
@@ -33,10 +33,10 @@
# @option param [String] :colors #=> :background
# @option param [String] :colors #=> :link
# @option param [String] :colors #=> :sidebar_border
# @option param [String] :colors #=> :sidebar_fill
# @option param [String] :colors #=> :text
- def update_profile param
+ def update_profile(param)
if param.key? :colors
opt = Hash.new
opt.update({:profile_background_color => param[:colors][:background]}) if param[:colors][:background]
opt.update({:profile_link_color => param[:colors][:link]}) if param[:colors][:link]
opt.update({:profile_sidebar_border => param[:colors][:sidebar_border]}) if param[:colors][:sidebar_border]
\ No newline at end of file