lib/meducation_sdk/resources/notification.rb in meducation_sdk-1.5.7 vs lib/meducation_sdk/resources/notification.rb in meducation_sdk-1.6.0

- old
+ new

@@ -1,10 +1,10 @@ module MeducationSDK class Notification < Resource self.path = "/notifications" def item - @item ||= class_for(item_type).find(item_id) + @item ||= sdk_class_for(item_type).find(item_id) end def user @user ||= User.find(user_id) end