Sha256: 2412fd910fcba18e4e28aa4d0b81cb3053f727d8e29343392403df6a45e900d0
Contents?: true
Size: 427 Bytes
Versions: 2
Compression:
Stored size: 427 Bytes
Contents
module MeducationSDK class Group < Loquor::Resource self.path = "/groups" def created_by @created_by = User.find(created_by_id) end end class GroupMock < Group extend Loquor::ResourceMock self.attributes = { id: 1, created_by_id: 23, title: "My first group", image_url: "http://i.telegraph.co.uk/multimedia/archive/02351/cross-eyed-cat_2351472k.jpg" } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
meducation_sdk-0.4.1 | lib/meducation_sdk/resources/group.rb |
meducation_sdk-0.4.0 | lib/meducation_sdk/resources/group.rb |