• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aviabird / gringotts / 239
65%

Build:
DEFAULT BRANCH: dev
Ran 10 Jan 2018 07:14PM UTC
Jobs 1
Files 17
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
239

push

travis-ci

pkrawat1
Introducing the Money protocol (#71)

Building on the discussion in #62, this PR introduces a protocol to replace amount argument, and removes the need to specify currency in config or opts.

Supporting `ex_money` and `monetized` money libs out of the box.

Usage:-
Money can now be passed like this while calling the public API methods.

money = %{amount: Decimal.new(2017.18), currency: "USD"}

Conversation for this happened here on elixir forum and https://elixirforum.com/t/gringotts-a-complete-payment-library-for-elixir-and-phoenix-framework/11054

8 of 8 new or added lines in 2 files covered. (100.0%)

264 of 434 relevant lines covered (60.83%)

4.37 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
lib/gringotts/money.ex
Jobs
ID Job ID Ran Files Coverage
1 239.1 10 Jan 2018 07:14PM UTC 0
60.83
Travis Job 239.1
Source Files on build 239
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #239
  • d5fda24a on github
  • Prev Build on dev (#232)
  • Next Build on dev (#240)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc