lib/spnet/control_message.rb in spnet-0.1.0 vs lib/spnet/control_message.rb in spnet-0.1.1
- old
+ new
@@ -12,10 +12,10 @@
GET,
SET
]
HASHED_ARGS_SPECS = [
- Hashmake::HashedArg.new(:reqd => true, :key => :subtype, :type => Symbol, :validator => ->(a){ SUBTYPES.include?(a) } )
+ Hashmake::ArgSpec.new(:reqd => true, :key => :subtype, :type => Symbol, :validator => ->(a){ SUBTYPES.include?(a) } )
]
attr_reader :subtype
def initialize hashed_args
\ No newline at end of file