Sha256: 9966824e81f8a2d40f6feb3548ca197e15ec417cd0ba0961a5ad6771e8a94734

Contents?: true

Size: 439 Bytes

Versions: 8

Compression:

Stored size: 439 Bytes

Contents

# -*- encoding : utf-8 -*-
module MustacheRender::Models
  module MustacheRenderManagerMixin
    def self.included(base)
      base.class_eval do
        table_name = 'mustache_render_managers'
        extend  ClassMethods
        include InstanceMethods
      end
    end

    module ClassMethods
      # TODO: authenticate
      def authenticate?(user)
        true
      end
    end

    module InstanceMethods
      
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mustache_render-0.0.15 lib/mustache_render/models/mustache_render_manager_mixin.rb
mustache_render-0.0.14 lib/mustache_render/models/mustache_render_manager_mixin.rb
mustache_render-0.0.13 lib/mustache_render/models/mustache_render_manager_mixin.rb
mustache_render-0.0.12 lib/mustache_render/models/mustache_render_manager_mixin.rb
mustache_render-0.0.10 lib/mustache_render/models/mustache_render_manager_mixin.rb
mustache_render-0.0.9 lib/mustache_render/models/mustache_render_manager_mixin.rb
mustache_render-0.0.7 lib/mustache_render/models/mustache_render_manager_mixin.rb
mustache_render-0.0.6 lib/mustache_render/models/mustache_render_manager_mixin.rb