Class: InchCI::Store::BuildCodeObject

Inherits:
Object
  • Object
show all
Defined in:
lib/inch_ci/store.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(revision, attributes) ⇒ BuildCodeObject

Returns a new instance of BuildCodeObject.


143
144
145
# File 'lib/inch_ci/store.rb', line 143

def initialize(revision, attributes)
  @code_object = build_code_object(revision, attributes)
end

Instance Attribute Details

#code_objectObject (readonly)

Returns the value of attribute code_object


137
138
139
# File 'lib/inch_ci/store.rb', line 137

def code_object
  @code_object
end

Class Method Details

.call(*args) ⇒ Object


139
140
141
# File 'lib/inch_ci/store.rb', line 139

def self.call(*args)
  new(*args).code_object
end