Sha256: 830b96a8389403b60c76e4155480a280af2e3d6e2ce5be3f1443217ab19707f2

Contents?: true

Size: 121 Bytes

Versions: 7

Compression:

Stored size: 121 Bytes

Contents

require 'parse_resource'

class Post < ParseResource
  fields :title, :body, :author

  validates_presence_of :title
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
parse_resource-1.5.9 lib/examples/post.rb
parse_resource-1.5.8 lib/examples/post.rb
parse_resource-1.5.7 lib/examples/post.rb
parse_resource-1.5.6 lib/examples/post.rb
parse_resource-1.5.5 lib/examples/post.rb
parse_resource-1.5.4 lib/examples/post.rb
parse_resource-1.5.2 lib/examples/post.rb