5
6
7
8
9
10
11
12
13
14
15
16
17
|
# File 'lib/restio/core_ext/object.rb', line 5
def self.restful id: :id, wrapped:false, use_backend_attributes: false
extend Restio::Extension::Identifier
extend Restio::Extension::Attribute
extend Restio::Extension::Builder
extend Restio::Extension::Caster
extend Restio::Extension::Callback
extend Restio::Action::Collection
include Restio::Action::Resource
self.send(:attr_accessor,id)
rest.identifier = id
rest.wrapped = wrapped
rest.use_backend_attributes = use_backend_attributes
end
|