Module: TestRail::InitializeWithApi

Included in:
CaseType, Priority, Project, Run, Section, Suite, TestCase
Defined in:
lib/test_rail/initialize_with_api.rb

Instance Method Summary collapse

Instance Method Details

#initialize(params) ⇒ Object

Takes params and assigns the provided api then uses the inherited (usually Virtus) initializer



5
6
7
8
# File 'lib/test_rail/initialize_with_api.rb', line 5

def initialize(params)
  @api = params[:api]
  super params
end