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


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

def difficulty
  @difficulty
end

#heightInteger


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

def height
  @height
end

#idString


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

def id
  @id
end

#timeStampInteger Also known as: timestamp


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

def timeStamp
  @timeStamp
end

#totalFeeInteger Also known as: total_fee


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