Class: Action::CodeObject::Show

Inherits:
Object
  • Object
show all
Includes:
SetProjectAndBranch, InchCI::Action
Defined in:
app/services/action/code_object/show.rb

Instance Method Summary collapse

Methods included from SetProjectAndBranch

#set_project_and_branch

Methods included from InchCI::Action

#exposures, included

Constructor Details

#initialize(params) ⇒ Show

Returns a new instance of Show.


11
12
13
14
15
# File 'app/services/action/code_object/show.rb', line 11

def initialize(params)
  set_project_and_branch(params)
  @revision = find_revision(@branch, params)
  @code_object = find_code_object(params)
end