Method: Stellar::DSL.Claimant

Defined in:
lib/stellar/dsl.rb

.Claimant(destination, &block) ⇒ Object



20
21
22
23
24
25
26
27
28
# File 'lib/stellar/dsl.rb', line 20

def Claimant(destination, &block)
  Claimant.new(
    ClaimantType.claimant_type_v0,
    Claimant::V0.new(
      destination: KeyPair(destination).,
      predicate: ClaimPredicate(&block)
    )
  )
end