lib/bright_serializer/entity/parser.rb in bright_serializer-0.2.1 vs lib/bright_serializer/entity/parser.rb in bright_serializer-0.2.2
- old
+ new
@@ -1,11 +1,10 @@
# frozen_string_literal: true
module BrightSerializer
module Entity
class Parser
- attr_reader :model
- attr_reader :endpoint
+ attr_reader :model, :endpoint
def initialize(model, endpoint)
@model = model
@endpoint = endpoint
end