Sha256: 3c4037530b0d0c38f5f8f170b502ed5597c2b30e62c2a0f24abbd44028712c5c
Contents?: true
Size: 385 Bytes
Versions: 6
Compression:
Stored size: 385 Bytes
Contents
#!/usr/bin/env ruby -rubygems require File.join(File.dirname(__FILE__), 'authentication') # define the class that's used for Collection with entry_type "Restaurant" class Restaurant < StorageRoom::Entry key :name key :body key :rating one :location # A LocationField, any embedded Resource or a To-One Association many :tags # ArrayField, or a To-Many Association end
Version data entries
6 entries across 6 versions & 1 rubygems