First request with Ruby¶
List your own copiers to check connectivity and identity without creating a terminal or placing a trade.
1. Install¶
Requires Ruby 3.1+ and Bundler. These instructions build from source; they do not assume a registry release exists.
2. Set your owner key¶
Use the real owner API key, not a broker password, terminal ID or TRIAL. Read authentication if access is refused.
3. Run¶
Source: examples/list.rb.
require_relative '../lib/rubycopier'
service = RubyCopier::CopierService.new('copy.mrpc.pro:443', user_key: ENV.fetch('MRPC_API_KEY'))
# list raises on failure; [] means a successful response with no copiers.
service.list.each { |copier| puts "#{copier.id}: paused=#{copier.paused}" }
A successful empty list means this owner has no copiers. Treat failed requests as errors, not empty accounts.
4. Prepare a demo workflow¶
Read the lifecycle guide, then choose sizing. Existing replication examples under examples/ are advanced integration examples: they may provision accounts and trade. Inspect them and their cleanup before running with disposable demos. List is the default starting point.