Method: Stellar::ClaimPredicate::FactoryMethods#before_relative_time
- Defined in:
- lib/stellar/claim_predicate.rb
#before_relative_time(seconds) ⇒ ClaimPredicate
Constructs a before_relative_time claim predicate.
This predicate will be fulfilled if the closing time of the ledger that includes the Stellar::CreateClaimableBalance operation plus this relative time delta (in seconds) is less than the current time.
29 30 31 |
# File 'lib/stellar/claim_predicate.rb', line 29 def before_relative_time(seconds) ClaimPredicate.new(ClaimPredicateType::BEFORE_RELATIVE_TIME, Integer(seconds)) end |