Sha256: dcd151b03c50aed3077742bfa47fc6eef30e67ce2a496e08475af93cc1c3e8d5
Contents?: true
Size: 364 Bytes
Versions: 29
Compression:
Stored size: 364 Bytes
Contents
module MeducationSDK class Author < Resource self.path = "/authors" def user @user ||= User.find(user_id) end end class AuthorMock < Author extend Loquor::ResourceMock self.attributes = { id: 728, user_id: 100, name: 'Dr Buick', occupation: "Doctor", qualifications: "All of them" } end end
Version data entries
29 entries across 29 versions & 1 rubygems