Class: Mastercoin::Cli::ExodusPayment

Inherits:
Thor
  • Object
show all
Defined in:
bin/exodus_payment

Instance Method Summary collapse

Instance Method Details

#from_address(address) ⇒ Object



19
20
21
22
# File 'bin/exodus_payment', line 19

def from_address(address)
  Mastercoin.set_storage(options[:storage])
  puts Mastercoin::ExodusPayment.from_address(address)
end

#from_transaction(hash) ⇒ Object



12
13
14
15
16
# File 'bin/exodus_payment', line 12

def from_transaction(hash) 
  puts "Looking up tx with hash #{hash}"
  Mastercoin.set_storage(options[:storage])
  puts Mastercoin::ExodusPayment.from_transaction(hash)
end