Class: SagePay::Server::TransactionCode

Inherits:
Object
  • Object
show all
Defined in:
lib/sage_pay/server/transaction_code.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.randomObject



4
5
6
# File 'lib/sage_pay/server/transaction_code.rb', line 4

def self.random
  new.random
end

Instance Method Details

#randomObject



8
9
10
# File 'lib/sage_pay/server/transaction_code.rb', line 8

def random
  uuid.generate
end