Sha256: f8ca5f03d3d687e86ebf7d8fd92fa2a04f25ae782c03a45b1622823074fa03aa
Contents?: true
Size: 663 Bytes
Versions: 8
Compression:
Stored size: 663 Bytes
Contents
module Katapaty class Configuration attr_accessor :username, :password, :host, :port, :block_username, :block_password, :block_host, :block_port def counterparty_url return 'http://rpc:1234@public.coindaddy.io:14000/api/' unless @host "http://#{@username}:#{@password}@#{@host}:#{@port}/api/" end def counterblock_url return 'http://rpc:1234@public.coindaddy.io:14100/api/' unless @block_host "http://#{@block_username}:#{@block_password}@#{@block_host}:#{@block_port}/api/" end end end
Version data entries
8 entries across 8 versions & 1 rubygems