8
9
10
11
12
13
14
15
16
17
18
|
# File 'lib/rs-rails-base/features/facebook.rb', line 8
def self.install
templates_path = '../templates/facebook/'
inject_files(templates_path)
install_gem('koala', '3.0.0')
create_file('spec/requests/api/v1/sessions/facebook_spec.rb',
"#{templates_path}facebook_spec.rb")
create_file('app/services/facebook_service.rb',
"#{templates_path}facebook_service.rb")
append_to_file('apiary.apib', "#{templates_path}apiary.apib")
append_to_file('config/locales/en.yml', "#{templates_path}en.yml")
end
|