lib/stellar/transaction.rb in stellar-base-0.19.0 vs lib/stellar/transaction.rb in stellar-base-0.20.0
- old
+ new
@@ -24,18 +24,24 @@
def self.change_trust(attributes={})
make :change_trust, attributes
end
#
- # @see Stellar::Operation.create_offer
- def self.manage_offer(attributes={})
- make :manage_offer, attributes
+ # @see Stellar::Operation.manage_sell_offer
+ def self.manage_sell_offer(attributes={})
+ make :manage_sell_offer, attributes
end
#
- # @see Stellar::Operation.create_passive_offer
- def self.create_passive_offer(attributes={})
- make :create_passive_offer, attributes
+ # @see Stellar::Operation.manage_buy_offer
+ def self.manage_buy_offer(attributes={})
+ make :manage_buy_offer, attributes
+ end
+
+ #
+ # @see Stellar::Operation.create_passive_sell_offer
+ def self.create_passive_sell_offer(attributes={})
+ make :create_passive_sell_offer, attributes
end
#
# @see Stellar::Operation.set_options
def self.set_options(attributes={})