Class: KnapsackPro::BuildDistributionFetcher::BuildDistributionEntity

Inherits:
Object
  • Object
show all
Defined in:
lib/knapsack_pro/build_distribution_fetcher.rb

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ BuildDistributionEntity

Returns a new instance of BuildDistributionEntity.



6
7
8
# File 'lib/knapsack_pro/build_distribution_fetcher.rb', line 6

def initialize(response)
  @response = response
end

Instance Method Details

#test_filesObject



14
15
16
# File 'lib/knapsack_pro/build_distribution_fetcher.rb', line 14

def test_files
  response.fetch('test_files')
end

#time_executionObject



10
11
12
# File 'lib/knapsack_pro/build_distribution_fetcher.rb', line 10

def time_execution
  response.fetch('time_execution')
end