module WavesRubyClient
Constants
- AMOUNT_ASSET
- API_URL
- BTC_ASSET_ID
- DATA_FEED_URL
- MATCHER_FEE
- MATCHER_PUBLIC_KEY
- NUMBER_MULTIPLIKATOR
- OrderAlreadyFilled
- PRICE_ASSET
- VERSION
- WAVES_ADDRESS
- WAVES_ASSET_ID
- WAVES_PRIVATE_KEY
- WAVES_PUBLIC_KEY
Public Class Methods
try_many_times(times = 5) { || ... }
click to toggle source
try method call several times
# File lib/waves_ruby_client.rb, line 50 def self.try_many_times(times = 5) tries ||= times yield rescue StandardError => e sleep(5) retry unless (tries -= 1).zero? raise e end