Class: Steem Deprecated

Inherits:
Radiator::Chain show all
Defined in:
lib/steem.rb

Overview

Deprecated.

Using Steem class provided by Radiator is deprecated. Please use: Radiator::Chain.new(chain: :steem)

Steem chain client for broadcasting common operations.

See Also:

Constant Summary

Constants inherited from Radiator::Chain

Radiator::Chain::VALID_OPTIONS

Instance Method Summary collapse

Methods inherited from Radiator::Chain

#base_per_debt, #base_per_mvest, #block_time, #broadcast!, #find_account, #find_block, #find_comment, #followed_by, #following, parse_slug, #properties, #reset, #reset_operations, #reset_properties

Methods included from Radiator::Mixins::ActsAsWallet

#claim_reward_balance, #claim_reward_balance!, #transfer, #transfer!

Methods included from Radiator::Mixins::ActsAsVoter

#vote, #vote!

Methods included from Radiator::Mixins::ActsAsPoster

#delete_comment, #delete_comment!, #post, #post!

Constructor Details

#initialize(options = {}) ⇒ Steem

Returns a new instance of Steem.



6
7
8
9
10
11
12
13
# File 'lib/steem.rb', line 6

def initialize(options = {})
  unless defined? @@deprecated_warning_shown
    warn "[DEPRECATED] Using Steem class provided by Radiator is deprecated.  Please use: Radiator::Chain.new(chain: :steem)"
    @@deprecated_warning_shown = true
  end
  
  super(options.merge(chain: :steem))
end