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

stripe / stripe-ruby / 3688
97%

Build:
DEFAULT BRANCH: master
Ran 05 Aug 2020 11:01PM UTC
Jobs 6
Files 104
Run time 2min
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
3688

push

travis-ci

web-flow
Rename API resource's `request` method (#936)

As seen in #928, the `refresh` method doesn't work for an event class.
This is because event has a field called `request`, and it ends up
replacing the `request` method that it inherited from being an API
resource, so when `refresh` tries to make a request, it fails because it
tries to invoke it on the accessor added for the event's property.

Here we give `request` a much more unique name so that it will never
conflict with a property field again, and update all internal references
to use the new name. We use `alias` to make the old name available for
backwards compatibility reasons because its been around for so long that
people are probably calling it.

Fixes #928.

2023 of 2100 relevant lines covered (96.33%)

3357.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3688.1 (2.3, STRIPE_MOCK_VERSION=0.95.0) 05 Aug 2020 11:01PM UTC 0
96.43
Travis Job 3688.1
2 3688.2 (2.4, STRIPE_MOCK_VERSION=0.95.0) 05 Aug 2020 11:01PM UTC 0
96.43
Travis Job 3688.2
3 3688.3 (2.5, STRIPE_MOCK_VERSION=0.95.0) 05 Aug 2020 11:01PM UTC 0
96.43
Travis Job 3688.3
4 3688.4 (2.6, STRIPE_MOCK_VERSION=0.95.0) 05 Aug 2020 11:01PM UTC 0
96.41
Travis Job 3688.4
5 3688.5 (2.7, STRIPE_MOCK_VERSION=0.95.0) 05 Aug 2020 11:01PM UTC 0
96.41
Travis Job 3688.5
6 3688.6 (jruby-9.2.7.0, STRIPE_MOCK_VERSION=0.95.0) 05 Aug 2020 11:04PM UTC 0
0.0
Travis Job 3688.6
Source Files on build 3688
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3688
  • 3433130c on github
  • Prev Build on master (#3684)
  • Next Build on master (#3689)
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