lib/restfully/link.rb in restfully-1.0.0.rc2 vs lib/restfully/link.rb in restfully-1.0.0

- old
+ new

@@ -19,14 +19,9 @@ type.split(";") end def valid? @errors = [] - if type.nil? || type.empty? - errors << "type cannot be blank" - elsif media_type.nil? - errors << "cannot find a MediaType for type #{type.inspect}" - end if href.nil? errors << "href cannot be nil" end errors.empty? end