def submit
      @account.require_secret
      
      hash = {}
      hash["payment"] = self.to_hash
      hash["secret"] = @account.secret
      hash["client_resource_id"] = client_resource_id = RippleRest.next_uuid
      
      source_account = self.to_hash[:source_account]
      RippleRest.post("v1/accounts/#{source_account}/payments", hash)["client_resource_id"]
    end
def submit
      @account.require_secret
      
      hash = {}
      hash["payment"] = self.to_hash
      hash["secret"] = @account.secret
      hash["client_resource_id"] = client_resource_id = RippleRest.next_uuid
      
      source_account = self.to_hash[:source_account]
      RippleRest.post("v1/accounts/#{source_account}/payments", hash)["client_resource_id"]
    end
Submits a payment
 @return [String] Client resource ID
 @raise [ArgumentError] if secret is missing from the Account object
 @raise [RippleRestError] if RippleRest server returns an error
 @raise [ProtocolError] if protocol is wrong or network is down