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

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

Build:
DEFAULT BRANCH: master
Ran 08 Feb 2014 12:43AM UTC
Files 44
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.638% (-1.1%) from 98.779%
2.0.0, gemfiles/Gemfile.rails-3-2

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.

868 of 889 relevant lines covered (97.64%)

48.13 hits per line

Source Files on job 261.5 (2.0.0, gemfiles/Gemfile.rails-3-2)
  • Tree
  • List 0
  • Changed 30
  • Source Changed 7
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 261
  • Travis Job 261.5
  • 3e5f2f2e on github
  • Prev Job for 2.0.0, gemfiles/Gemfile.rails-3-2 on master (#260.5)
  • Next Job for 2.0.0, gemfiles/Gemfile.rails-3-2 on master (#262.5)
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