Sha256: 7bbb66a86c7b5ddac2a7b0cdecfdef93300acc38656aef433490899c22fed6d5
Contents?: true
Size: 598 Bytes
Versions: 10
Compression:
Stored size: 598 Bytes
Contents
# :nodoc: namespace module Authpwn # rails g authpwn:facebook 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 Authpwn::FacebookGenerator end # namespace Authpwn
Version data entries
10 entries across 10 versions & 1 rubygems