jsonapi-rb / jsonapi-renderer

Efficiently render JSON API documents.
http://jsonapi-rb.org
MIT License
27 stars 11 forks source link

Replace `respond_to?(:each)` with `respond_to?(:to_ary)` for collection check. #12

Closed beauby closed 7 years ago

beauby commented 7 years ago

ref. jsonapi-rb/jsonapi-serializable#43.

codecov-io commented 7 years ago

Current coverage is 99.33% (diff: 100%)

Merging #12 into master will not change coverage

@@             master        #12   diff @@
==========================================
  Files             5          5          
  Lines           150        150          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            149        149          
  Misses            1          1          
  Partials          0          0          

Powered by Codecov. Last update 5bf23df...6c698cc