lib/grape-swagger/entity/parser.rb in grape-swagger-entity-0.5.1 vs lib/grape-swagger/entity/parser.rb in grape-swagger-entity-0.5.2
- old
+ new
@@ -1,12 +1,10 @@
# frozen_string_literal: true
module GrapeSwagger
module Entity
class Parser
- attr_reader :model
- attr_reader :endpoint
- attr_reader :attribute_parser
+ attr_reader :model, :endpoint, :attribute_parser
def initialize(model, endpoint)
@model = model
@endpoint = endpoint
@attribute_parser = AttributeParser.new(endpoint)