module MeducationSDK module Badges class Badge < Loquor::Resource def self.issue_or_update_progress(user_id) Loquor.put("#{self.path}/issue_or_update_progress", {user_id: user_id}) end def user @user ||= User.find(user_id) end end end end