Sha256: f2880267b6feff5af0782ff4f2037876287f852f87cc0efb69e844526cf74190

Contents?: true

Size: 369 Bytes

Versions: 38

Compression:

Stored size: 369 Bytes

Contents

class Pet
  include Virtus.model

  attribute :id, Integer
  attribute :name, String
  attribute :species, String
end

class PetPeeve
  include Virtus.model

  attribute :id, Integer
  attribute :type, String
end

class Friend
  include Virtus.model

  attribute :id, Integer
  attribute :name, String
  attribute :pets, Array[Pet]
  attribute :pet_peeve, PetPeeve
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
yaks-0.13.0 spec/support/models.rb
yaks-0.12.0 spec/support/models.rb
yaks-0.11.0 spec/support/models.rb
yaks-0.10.0 spec/support/models.rb
yaks-0.9.0 spec/support/models.rb
yaks-0.8.3 spec/support/models.rb
yaks-0.8.2 spec/support/models.rb
yaks-0.8.1 spec/support/models.rb
yaks-0.8.0 spec/support/models.rb
yaks-0.8.0.beta2 spec/support/models.rb
yaks-0.8.0.beta1 spec/support/models.rb
yaks-0.8.0.alpha spec/support/models.rb
yaks-0.7.7 spec/support/models.rb
yaks-0.7.6 spec/support/models.rb
yaks-0.7.5 spec/support/models.rb
yaks-0.7.4 spec/support/models.rb
yaks-0.7.3 spec/support/models.rb
yaks-0.7.2 spec/support/models.rb
yaks-0.7.1 spec/support/models.rb
yaks-0.7.0 spec/support/models.rb