lib/wordnik/operation_parameter.rb in wordnik-0.4.2 vs lib/wordnik/operation_parameter.rb in wordnik-0.4.3

- old
+ new

@@ -13,17 +13,14 @@ send("#{name.to_s.underscore.to_sym}=", value) end # Fudge body param into having the name :body self.name = :body if self.name.blank? - - # Change camelcase to underscore - self.name = self.name.to_s.underscore end def human_name return "request body" if self.param_type == 'body' - self.name + self.name.to_s end def has_allowable_array? self.allowable_values.present? && self.allowable_values.include?(",") end \ No newline at end of file