Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to access whether stubs are currently enabled or not #139

Closed
Janglinator opened this issue Nov 11, 2015 · 4 comments
Closed

Unable to access whether stubs are currently enabled or not #139

Janglinator opened this issue Nov 11, 2015 · 4 comments

Comments

@Janglinator
Copy link

I'd like to add a runtime window that will enable us to toggle the enabled state of OHHTTPStubs at runtime. However there's no way to know whether OHHTTPStubs is currently enabled or not, so I have no idea of which state to set my toggle switch on startup without making assumptions. This seems like a property that should exist.

@AliSoftware
Copy link
Owner

Sorry not to have responded earlier, I got tons of stuff to do and forgot this.

That could definitely be a property to add. Won't have much time to add it soon though, but don't hesitate to make a PR to add it, that shouldn't be too complicated to implement 😉

@jzucker2
Copy link
Contributor

jzucker2 commented Mar 8, 2016

I saw this and decided to take a run at the idea. Let me know what you think #159

Janglinator referenced this issue in jzucker2/OHHTTPStubs Mar 8, 2016
Reflects current implementation
@jzucker2
Copy link
Contributor

Just in case you forgot, you can close this now :)

@AliSoftware
Copy link
Owner

Good poin, thanks!

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

No branches or pull requests

3 participants