jsonapi-rb / jsonapi-deserializable

Conveniently deserialize JSON API payloads into custom hashes.
http://jsonapi-rb.org
MIT License
26 stars 20 forks source link

Add automatic key formatting. #15

Closed beauby closed 7 years ago

beauby commented 7 years ago

Usage: provide a block or callable to the key_format DSL method.

Closes #12.

codecov[bot] commented 7 years ago

Codecov Report

Merging #15 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #15   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           5      5           
  Lines         174    178    +4     
=====================================
+ Hits          174    178    +4
Impacted Files Coverage Δ
lib/jsonapi/deserializable/resource.rb 100% <100%> (ø) :arrow_up:
lib/jsonapi/deserializable/resource/dsl.rb 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4d1ed42...87038a6. Read the comment docs.