Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

stratumn/mapexplorer-rails

Repository files navigation

Mapexplorer::Rails

Exposes a simple view helper that displays a Map Explorer.

Usage

<%= mapexplorer(agent_url: 'http://localhost:3333', process: 'message', map_id: '00583e40-2a91-497b-83bb-ab82ea143324') %>

<%= mapexplorer(chainscript: my_chainscript_array) %>

Installation

Add this line to your application's Gemfile:

gem 'mapexplorer-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mapexplorer-rails

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the Apache License 2.0