Class: Nis::Struct::HarvestInfo

Inherits:
Object
  • Object
show all
Includes:
Util::Assignable
Defined in:
lib/nis/struct/harvest_info.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

#[], #initialize, #to_hash, #to_json

Instance Attribute Details

#difficultyInteger

Returns the current value of difficulty.

Returns:

  • (Integer)

    the current value of difficulty



8
9
10
# File 'lib/nis/struct/harvest_info.rb', line 8

def difficulty
  @difficulty
end

#heightInteger

Returns the current value of height.

Returns:

  • (Integer)

    the current value of height



8
9
10
# File 'lib/nis/struct/harvest_info.rb', line 8

def height
  @height
end

#idString

Returns the current value of id.

Returns:

  • (String)

    the current value of id



8
9
10
# File 'lib/nis/struct/harvest_info.rb', line 8

def id
  @id
end

#timeStampInteger Also known as: timestamp

Returns the current value of timeStamp.

Returns:

  • (Integer)

    the current value of timeStamp



8
9
10
# File 'lib/nis/struct/harvest_info.rb', line 8

def timeStamp
  @timeStamp
end

#totalFeeInteger Also known as: total_fee

Returns the current value of totalFee.

Returns:

  • (Integer)

    the current value of totalFee



8
9
10
# File 'lib/nis/struct/harvest_info.rb', line 8

def totalFee
  @totalFee
end

Class Method Details

.build(attrs) ⇒ Object



17
18
19
# File 'lib/nis/struct/harvest_info.rb', line 17

def self.build(attrs)
  new(attrs)
end