lib/generators/service_generator.rb in external_services-0.1.4 vs lib/generators/service_generator.rb in external_services-0.1.5
- old
+ new
@@ -5,15 +5,14 @@
module Generators
# Installs ExternalServices in a rails app.
class ServiceGenerator < ::Rails::Generators::NamedBase
source_root File.expand_path('../templates/services', __FILE__)
-
class_option(
:only_api_actions,
type: :boolean,
default: false,
- desc: "Do not generate service model class"
+ desc: 'Do not generate service model class'
)
desc 'Generates specified model and API classes.'
def add_model