Sha256: 9db53fa309a02b681f41014e1a554799576d05cbbd2339b2d573d58763f68fc5

Contents?: true

Size: 383 Bytes

Versions: 2

Compression:

Stored size: 383 Bytes

Contents

require 'rails/generators/named_base'

module SimpleTokenAuth
  module Generators
    class SimpleTokenAuthGenerator < Rails::Generators::NamedBase
      include Rails::Generators::ResourceHelpers

      namespace 'simple_token_auth'
      source_root File.expand_path("../templates", __FILE__)

      desc 'Insert include for given NAME model'
      hook_for :orm
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_token_auth-0.0.4 lib/generators/simple_token_auth/simple_token_auth_generator.rb
simple_token_auth-0.0.3 lib/generators/simple_token_auth/simple_token_auth_generator.rb