Method: SDM::NodesHistory#initialize

Defined in:
lib/svc.rb

#initialize(channel, parent) ⇒ NodesHistory

Returns a new instance of NodesHistory.



2869
2870
2871
2872
2873
2874
2875
2876
# File 'lib/svc.rb', line 2869

def initialize(channel, parent)
  begin
    @stub = V1::NodesHistory::Stub.new(nil, nil, channel_override: channel)
  rescue => exception
    raise Plumbing::convert_error_to_porcelain(exception)
  end
  @parent = parent
end