Sha256: 01e49d51b4f39443224982ba3c6aed0b38986c4e7ef479fcd3bf65ddde398202
Contents?: true
Size: 395 Bytes
Versions: 22
Compression:
Stored size: 395 Bytes
Contents
module Mongoid module Generators class OauthConsumerGenerator < Rails::Generators::Base source_root File.expand_path('../oauth_consumer_templates', __FILE__) def check_class_collisions class_collisions '', %w(ConsumerToken) end def copy_models template 'consumer_token.rb', File.join('app/models', 'consumer_token.rb') end end end end
Version data entries
22 entries across 22 versions & 6 rubygems