eighttrack v0.1.1
EightTrack
VCR for Crystal
Installation
Add this to your application's shard.yml
:
dependencies:
eighttrack:
github: russ/eighttrack
Usage
require "eighttrack"
require "http/client"
EightTrack.use_tape("in-a-gadda-da-vita") do
response = HTTP::Client.get("https://ipapi.co/8.8.8.8/json")
end
Customize the location of where the tapes are stored. The default is spec/fixtures/eighttracks
.
EightTrack.configure do
settings.tape_library_dir = "/some/path/eightracks"
end
Contributing
- Fork it ( https://github.com/russ/EightTrack/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- russ Russ Smith - creator, maintainer
Repository
eighttrack
Owner
Statistic
- 11
- 1
- 1
- 1
- 1
- over 3 years ago
- May 23, 2018
License
MIT License
Links
Synced at
Sat, 16 Nov 2024 21:01:59 GMT
Languages