lib/mastercoin-ruby/purchase_offer.rb in mastercoin-ruby-0.2.0 vs lib/mastercoin-ruby/purchase_offer.rb in mastercoin-ruby-0.2.1
- old
+ new
@@ -48,11 +48,11 @@
def get_sequence(bitcoin_address = nil)
bitcoin_address ||= self.receiving_address
Mastercoin::Util.get_sequence(bitcoin_address)
end
- def explain
- "Purchase Offer transaction for %.8f #{self.currency_id_text}." % (self.amount / 1e8)
+ def explain(sending_address= nil)
+ "Purchase Offer transaction for %.8f #{self.currency_id_text} from #{sending_address}." % (self.amount / 1e8)
end
def currency_id_text
Mastercoin::CURRENCY_IDS[self.currency_id.to_s]
end