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)


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

attrib :attempt

#downloadedInteger (readonly)

Returns:

  • (Integer)


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

attrib :downloaded

#heightInteger (readonly)

Returns:

  • (Integer)


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

attrib :height

#in_progressBoolean (readonly)

Returns:

  • (Boolean)


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

attrib :in_progress

#sizeInteger (readonly)

Returns:

  • (Integer)


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

attrib :size