Module: Docproof::Mocks::HelperMethods
- Included in:
- ProofOfExistence::FakeAPI
- Defined in:
- lib/docproof/mocks/helper_methods.rb
Instance Method Summary collapse
Instance Method Details
#json_file(file_name) ⇒ Object
4 5 6 |
# File 'lib/docproof/mocks/helper_methods.rb', line 4 def json_file(file_name) File.open(File.("fixtures/#{file_name}.json", __dir__)) end |