Sha256: eed693fe645ac9328aeb6ddfd200a8d75b5b3e34f1238a4dae80436719114d5c

Contents?: true

Size: 690 Bytes

Versions: 5

Compression:

Stored size: 690 Bytes

Contents

require "active_support/deprecation"

Stellar::Deprecation ||= ActiveSupport::Deprecation.new("next release", "stellar-base")

class << Stellar::Operation
  alias manage_offer manage_sell_offer
  alias create_passive_offer create_passive_sell_offer

  deprecate deprecator: Stellar::Deprecation,
            manage_offer: :manage_sell_offer,
            create_passive_offer: :create_passive_sell_offer
end

class << Stellar::Transaction
  alias manage_offer manage_sell_offer
  alias create_passive_offer create_passive_sell_offer

  deprecate deprecator: Stellar::Deprecation,
            manage_offer: :manage_sell_offer,
            create_passive_offer: :create_passive_sell_offer
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stellar-base-0.23.1 lib/stellar/compat.rb
stellar-base-0.23.0 lib/stellar/compat.rb
stellar-base-0.23.0.rc2 lib/stellar/compat.rb
stellar-base-0.23.0.rc1 lib/stellar/compat.rb
stellar-base-0.23.0.pre1 lib/stellar/compat.rb