Sha256: d2f4e2dc8a3c7d418d90b8c160ba65390e9fbece5c982ceda97a9fefc6a4150f

Contents?: true

Size: 211 Bytes

Versions: 5

Compression:

Stored size: 211 Bytes

Contents

class Animal
  include Virtus.model

  attribute :name, String
  attribute :description, String
  attribute :phylum, String
  attribute :diet, String

  def self.all ; end
  def self.find(id = nil) ; end
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
grape-transformations-0.0.5 spec/test_app/app/models/animal.rb
grape-transformations-0.0.4 spec/test_app/app/models/animal.rb
grape-transformations-0.0.3 spec/test_app/app/models/animal.rb
grape-transformations-0.0.2 spec/test_app/app/models/animal.rb
grape-transformations-0.0.1 spec/test_app/app/models/animal.rb