proofmode 0.9.0

Capture, share, and preserve verifiable photos and videos
Documentation
# ProofMode Ruby Integration Example

This directory contains examples of how to integrate the ProofMode library into your Ruby application.

## Prerequisites

First, install the ProofMode gem:

```bash
gem install proofmode
```

Or add to your Gemfile:

```ruby
gem 'proofmode'
```

## Examples

- `example.rb` - Basic usage example showing proof generation and verification

## Running the Examples

```bash
# Make sure you have the ProofMode gem installed
gem install proofmode

# Run the example
ruby example.rb
```

## Integration Tips

1. Require the proofmode gem: `require 'proofmode'`
2. Use Ruby hash syntax for parameters
3. The library handles native calls through UniFFI bindings via FFI
4. Error handling uses standard Ruby exceptions

## API Overview

```ruby
# Generate a proof
result = ProofMode.generate(
  file_path: "path/to/file",
  passphrase: "your-passphrase",
  device_info: {...},
  location_info: {...}
)

# Verify a file
verification = ProofMode.check(file_path: "path/to/file")
```

## For More Information

See the [ProofMode Ruby gem documentation](../../cli/ruby/README.md) for full API reference.