Method: SDM::NodesHistory#initialize

Defined in:
lib/svc.rb

#initialize(channel, parent) ⇒ NodesHistory

Returns a new instance of NodesHistory.



3277
3278
3279
3280
3281
3282
3283
3284
# File 'lib/svc.rb', line 3277

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