Sha256: b92d551571721a52cad92eba3fe8ce1fcceb30f51fb6ba6184f08f3866cdfc98

Contents?: true

Size: 226 Bytes

Versions: 5

Compression:

Stored size: 226 Bytes

Contents

class User
  include LazyResource::Resource

  attribute :id,   Fixnum
  attribute :name, String
  attribute :created_at, DateTime
  attribute :updated_at, DateTime
  attribute :post, Post
  attribute :comments, [Comment]
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lazy_resource-0.5.0 spec/fixtures/user.rb
lazy_resource-0.4.0 spec/fixtures/user.rb
lazy_resource-0.3.3 spec/fixtures/user.rb
lazy_resource-0.3.2 spec/fixtures/user.rb
lazy_resource-0.3.0 spec/fixtures/user.rb