lib/services/member.rb in jn_services-1.0.7 vs lib/services/member.rb in jn_services-1.0.8

- old
+ new

@@ -16,12 +16,10 @@ end private def validate - unless name && @service - fail ARgumentError, - "#{self.class} requires name and service argument" - end + fail ARgumentError, + "#{self.class} requires name and service argument" unless name && @service end end end