Sha256: ed0f72f9bb7fae7724c01bd9e5beafcb2b96f4351d8f99d142259969eb807bf4

Contents?: true

Size: 360 Bytes

Versions: 4

Compression:

Stored size: 360 Bytes

Contents

module MeducationSDK
  class ExamRoomPracticeExam < Resource
    self.path = "/practice_exams"

    def user
      @user ||= User.find(user_id)
    end
  end

  class ExamRoomPracticeExamMock < ExamRoomPracticeExam
    extend Loquor::ResourceMock

    self.attributes = {
      id: 1,
      user_id: 8,
      created_at: "2014-04-28T12:00:00Z"
    }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
meducation_sdk-2.2.2 lib/meducation_sdk/resources/exam_room_practice_exam.rb
meducation_sdk-2.2.1 lib/meducation_sdk/resources/exam_room_practice_exam.rb
meducation_sdk-2.2.0 lib/meducation_sdk/resources/exam_room_practice_exam.rb
meducation_sdk-2.1.4 lib/meducation_sdk/resources/exam_room_practice_exam.rb