Sha256: 5e79d152e4a0f9c4659c881fda3600ea1d1aa8b45f69b6fd405842b473734e90

Contents?: true

Size: 346 Bytes

Versions: 1

Compression:

Stored size: 346 Bytes

Contents

module Vedeu
  module API
    def interface(name, &block)
      API::Interface.save(name, &block)
    end

    def log(message)
      API::Log.logger.debug(message)
    end

    # def render(object = nil)
    #   Vedeu::View.render(object)
    # end

    def view(name, &block)
      API::View.build(name, &block)
    end
  end

  extend API
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.1.10 lib/vedeu/api/api.rb