lib/epom/epom_element.rb in epom-0.6 vs lib/epom/epom_element.rb in epom-0.6.2

- old
+ new

@@ -10,10 +10,10 @@ { } end def self.params_validation(params, params_signature) return true if params_signature.nil? or params_signature.count.zero? - return true if params.keys.all? {|key| params_signature.include?(key)} + return true if params.keys.all? {|key| params_signature.include?(key.to_sym)} puts "invalid params: #{params.keys.select{|key| not params_signature.include?(key)}}" return false end def self.generic_method(method_name, url_params, body_params) \ No newline at end of file