Class: Chain::Receiver

Inherits:
ResponseObject show all
Defined in:
lib/chain/receiver.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from ResponseObject

#[], #[]=, #initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from Chain::ResponseObject

Instance Attribute Details

#control_programString (readonly)

The underlying control program that will be used in transactions paying to this receiver.

Returns:

  • (String)


8
# File 'lib/chain/receiver.rb', line 8

attrib :control_program

#expires_atTime (readonly)

A timestamp indicating when the receiver will expire.

Returns:

  • (Time)


13
# File 'lib/chain/receiver.rb', line 13

attrib :expires_at, rfc3339_time: true