Class: Navy::Etcd::Response

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#actionObject

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



6
7
8
# File 'lib/navy/etcd.rb', line 6

def action
  @action
end

#etcd_indexObject

Returns the value of attribute etcd_index

Returns:

  • (Object)

    the current value of etcd_index



6
7
8
# File 'lib/navy/etcd.rb', line 6

def etcd_index
  @etcd_index
end

#nodeObject

Returns the value of attribute node

Returns:

  • (Object)

    the current value of node



6
7
8
# File 'lib/navy/etcd.rb', line 6

def node
  @node
end

#prevNodeObject

Returns the value of attribute prevNode

Returns:

  • (Object)

    the current value of prevNode



6
7
8
# File 'lib/navy/etcd.rb', line 6

def prevNode
  @prevNode
end

Instance Method Details

#keyObject



7
8
9
# File 'lib/navy/etcd.rb', line 7

def key
  node.key
end