Sha256: 4fbca03ab47133077818ac9d053eaa8fd0e4e3019698c937b3dbafb896bae498

Contents?: true

Size: 382 Bytes

Versions: 3

Compression:

Stored size: 382 Bytes

Contents

# encoding: utf-8

module RestfulObjects
  module Object
    include LinkGenerator

    def self.included(base)
      RestfulObjects::DomainModel.current.types.add(base.name)

      base.class_eval do
        extend ObjectMacros
        include ObjectBase
        include ObjectProperties
        include ObjectCollections
        include ObjectActions
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
restful_objects-0.0.5 lib/restful_objects/object.rb
restful_objects-0.0.4 lib/restful_objects/object.rb
restful_objects-0.0.3 lib/restful_objects/object.rb