Class: Nis::Struct::HarvestInfo
- Inherits:
-
Object
- Object
- Nis::Struct::HarvestInfo
- Includes:
- Util::Assignable
- Defined in:
- lib/nis/struct/harvest_info.rb
Overview
Instance Attribute Summary collapse
-
#difficulty ⇒ Integer
The current value of difficulty.
-
#height ⇒ Integer
The current value of height.
-
#id ⇒ String
The current value of id.
-
#timeStamp ⇒ Integer
(also: #timestamp)
The current value of timeStamp.
-
#totalFee ⇒ Integer
(also: #total_fee)
The current value of totalFee.
Class Method Summary collapse
Methods included from Util::Assignable
#[], #initialize, #to_hash, #to_json
Instance Attribute Details
#difficulty ⇒ Integer
Returns the current value of difficulty.
8 9 10 |
# File 'lib/nis/struct/harvest_info.rb', line 8 def difficulty @difficulty end |
#height ⇒ Integer
Returns the current value of height.
8 9 10 |
# File 'lib/nis/struct/harvest_info.rb', line 8 def height @height end |
#id ⇒ String
Returns the current value of id.
8 9 10 |
# File 'lib/nis/struct/harvest_info.rb', line 8 def id @id end |
#timeStamp ⇒ Integer Also known as: timestamp
Returns the current value of timeStamp.
8 9 10 |
# File 'lib/nis/struct/harvest_info.rb', line 8 def timeStamp @timeStamp end |
#totalFee ⇒ Integer Also known as: total_fee
Returns 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 |