lib/conglomerate/serializer.rb in conglomerate-0.1.1 vs lib/conglomerate/serializer.rb in conglomerate-0.2.0

- old
+ new

@@ -187,10 +187,10 @@ end attr_writer :_href, :_item_href, :_queries, :_attributes, :_links def _href - @_href || Proc.new { request.original_url } + @_href || Proc.new { raise ArgumentError, "You must include an href" } end def _item_href @_item_href || nil end