Sha256: 45d8b730383cde02b93c1a5838116ecde50ec7ff10d89d8f0c226068b82965f8

Contents?: true

Size: 427 Bytes

Versions: 2

Compression:

Stored size: 427 Bytes

Contents

require "active_support/deprecation"

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

class << Stellar::Operation
  alias_method :manage_offer, :manage_sell_offer
  alias_method :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

2 entries across 2 versions & 1 rubygems

Version Path
stellar-base-0.24.0 lib/stellar/compat.rb
stellar-base-0.24.0.pre.1 lib/stellar/compat.rb