lib/roda/endpoints/endpoint/class_interface.rb in roda-endpoints-0.3.1 vs lib/roda/endpoints/endpoint/class_interface.rb in roda-endpoints-0.3.2
- old
+ new
@@ -20,11 +20,9 @@
# @return [<Symbol>]
attr_accessor :verbs
# @param [Symbol] key
def define_attribute(key)
- self.attributes ||= superclass.attributes
- self.attributes += [key]
attr_reader key
end
# @return [Dry::Container]
def container