Sha256: c8bc91a66b3a5c4c2d37a48ac8ae2f973d7381492ef59837d0cd76276914e050

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 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

1 entries across 1 versions & 1 rubygems

Version Path
restful_objects-0.0.2 lib/restful_objects/object.rb