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

jgraichen / acfs / 261 / 13
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 08 Feb 2014 12:53AM UTC
Files 40
Run time –
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

08 Feb 2014 12:38AM UTC coverage: 97.344% (-0.008%) from 97.352%
rbx, gemfiles/Gemfile.rails-4-0

push

travis-ci

jgraichen
Add support for path arguments and sub-resources

This commit adds support for path arguments to be specified in a
resource path:

    class UserProfile < Acfs::SingletonResource
      service UserService, path: 'users/:user_id/profile'
    end

Path arguments also work on non-singleton resources. They will be
taken from either given parameters to query methods like `find` or
from resource attributes when available. Otherwise errors will be
raised.

This commit also lays some foundation for custom per-action different
routes and features depending on path modification.

843 of 866 relevant lines covered (97.34%)

47.92 hits per line

Source Files on job 261.13 (rbx, gemfiles/Gemfile.rails-4-0)
  • Tree
  • List 0
  • Changed 29
  • Source Changed 6
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 261
  • Travis Job 261.13
  • 3e5f2f2e on github
  • Prev Job for rbx, gemfiles/Gemfile.rails-4-0 on master (#260.13)
  • Next Job for rbx, gemfiles/Gemfile.rails-4-0 on master (#262.13)
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