lib/evil/client/schema.rb in evil-client-1.0.0 vs lib/evil/client/schema.rb in evil-client-1.1.0
- old
+ new
@@ -7,10 +7,12 @@
#
# Every concrete container defines its only DSL for scope/operation
# definitions.
#
class Schema
+ Names.clean(self) # Remove unnecessary methods from the instance
+
# Loads concrete implementations of the abstract schema
require_relative "schema/operation"
require_relative "schema/scope"
# The name of current schema which is unique for the existing [#parent],
@@ -31,10 +33,10 @@
# Back reference to client the schema belongs to
#
# @return [Evil::Client]
#
- attr_reader :client # TODO: add spec
+ attr_reader :client
# The human-friendly representation of the schema
#
# @example
# "MyClient.users.fetch" # custom operation's schema