lib/apipie/method_description.rb
Class MethodDescription
has 23 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class MethodDescription
attr_reader :full_description, :method, :resource, :apis, :examples, :see, :formats, :headers, :show
attr_accessor :metadata
def initialize(method, resource, dsl_data)
Method initialize
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(method, resource, dsl_data)
@method = method.to_s
@resource = resource
@from_concern = dsl_data[:from_concern]
@apis = ApisService.new(resource, method, dsl_data).call