Skip to content

Fix private method error and add test#499

Merged
jonnyom merged 1 commit intomasterfrom
jonny/fix-privatised-method-name
Nov 5, 2019
Merged

Fix private method error and add test#499
jonnyom merged 1 commit intomasterfrom
jonny/fix-privatised-method-name

Conversation

@jonnyom
Copy link
Copy Markdown
Contributor

@jonnyom jonnyom commented Nov 5, 2019

Why?

Closes #498

How?

rate_limit_details was privatised, but is actually used outside of the request class. This wasn't covered in tests because we never directly made a call to the request class from outside of it.

This adds a test to make sure we're using that class in the client moving forward, and makes the attr_accessor not private.

@jonnyom jonnyom force-pushed the jonny/fix-privatised-method-name branch from 5cab686 to 8fec48f Compare November 5, 2019 13:52
@jonnyom jonnyom merged commit b3281ae into master Nov 5, 2019
@jonnyom jonnyom deleted the jonny/fix-privatised-method-name branch November 5, 2019 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

private method `rate_limit_details' called for Intercom::Request

2 participants