astroband/ruby-stellar-sdk

View on GitHub
base/lib/stellar/compat.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
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,
    allow_trust: :set_trust_line_flags
  )
end