Class: Chain::Config::Info::Snapshot

Inherits:
ResponseObject show all
Defined in:
lib/chain/config.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

#attemptInteger (readonly)

Returns:

  • (Integer)


35
# File 'lib/chain/config.rb', line 35

attrib :attempt

#downloadedInteger (readonly)

Returns:

  • (Integer)


47
# File 'lib/chain/config.rb', line 47

attrib :downloaded

#heightInteger (readonly)

Returns:

  • (Integer)


39
# File 'lib/chain/config.rb', line 39

attrib :height

#in_progressBoolean (readonly)

Returns:

  • (Boolean)


51
# File 'lib/chain/config.rb', line 51

attrib :in_progress

#sizeInteger (readonly)

Returns:

  • (Integer)


43
# File 'lib/chain/config.rb', line 43

attrib :size