lib/meducation_sdk/resources/board.rb in meducation_sdk-1.5.7 vs lib/meducation_sdk/resources/board.rb in meducation_sdk-1.6.0
- old
+ new
@@ -1,10 +1,10 @@
module MeducationSDK
class Board < Resource
self.path = "/boards"
def owner
- @owner ||= class_for(owner_type).find(owner_id)
+ @owner ||= sdk_class_for(owner_type).find(owner_id)
end
def created_by
@created_by ||= User.find(created_by_id)
end