Sha256: fe37ccddcefef2d5905d36d3948759693e7c868401df1fa51ae0b5b44588fe55
Contents?: true
Size: 344 Bytes
Versions: 11
Compression:
Stored size: 344 Bytes
Contents
require "support/protobuf/author.pb" ## # Define a generic class that inherits from active remote base # class DefaultAuthor < ::ActiveRemote::Base service_class ::Generic::Remote::AuthorService attribute :guid, :string, :default => lambda { 100 } attribute :name, :string, :default => "John Doe" attribute :books, :default => [] end
Version data entries
11 entries across 11 versions & 1 rubygems