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.



4
5
6
# File 'lib/knapsack_pro/build_distribution_fetcher.rb', line 4

def initialize(response)
  @response = response
end

Instance Method Details

#test_filesObject



12
13
14
# File 'lib/knapsack_pro/build_distribution_fetcher.rb', line 12

def test_files
  response.fetch('test_files')
end

#time_executionObject



8
9
10
# File 'lib/knapsack_pro/build_distribution_fetcher.rb', line 8

def time_execution
  response.fetch('time_execution')
end