Sha256: 204a8035a8ed83c95dcbc1a6f264e76ac8edb266d33415924d79e99a70f0f9f5

Contents?: true

Size: 587 Bytes

Versions: 22

Compression:

Stored size: 587 Bytes

Contents

# :nodoc: namespace
module AuthpwnRails


class FacebookGenerator < Rails::Generators::Base
  source_root File.expand_path("../templates", __FILE__)

  def create_facebook_model
    copy_file 'facebook_token.rb',
              File.join('app', 'models', 'facebook_token.rb')
    copy_file '002_create_facebook_tokens.rb',
        File.join('db', 'migrate', '20100725000002_create_facebook_tokens.rb')
    copy_file 'facebook_tokens.yml',
              File.join('test', 'fixtures', 'facebook_tokens.yml')
  end
end  # class AuthpwnRails::FacebookGenerator

end  # namespace AuthpwnRails

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
authpwn_rails-0.8.0 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.7.5 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.7.4 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.7.3 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.7.2 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.7.1 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.7.0 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.6.0 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.5.6 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.5.5 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.5.4 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.5.3 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.5.2 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.5.1 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.5.0 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.4.7 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.4.6 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.4.5 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.4.4 lib/authpwn_rails/generators/facebook_generator.rb
authpwn_rails-0.4.3 lib/authpwn_rails/generators/facebook_generator.rb