Class: Raft::RequestVoteResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/raft.rb

Instance Attribute Summary collapse

Instance Attribute Details

#termObject

Returns the value of attribute term

Returns:

  • (Object)

    the current value of term



34
35
36
# File 'lib/raft.rb', line 34

def term
  @term
end

#vote_grantedObject

Returns the value of attribute vote_granted

Returns:

  • (Object)

    the current value of vote_granted



34
35
36
# File 'lib/raft.rb', line 34

def vote_granted
  @vote_granted
end