Sha256: 4e095c5897f413429aeb3fbdd3eb2be356cd2b958af99b098a9779b2ba341436

Contents?: true

Size: 237 Bytes

Versions: 5

Compression:

Stored size: 237 Bytes

Contents

class User
  include Virtus.model

  attribute :name, String
  attribute :age, Integer
  attribute :birthday, DateTime
  attribute :phone, Integer
  attribute :address, 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/user.rb
grape-transformations-0.0.4 spec/test_app/app/models/user.rb
grape-transformations-0.0.3 spec/test_app/app/models/user.rb
grape-transformations-0.0.2 spec/test_app/app/models/user.rb
grape-transformations-0.0.1 spec/test_app/app/models/user.rb