lib/korinthenkacker/job_info.rb in korinthenkacker-0.0.1 vs lib/korinthenkacker/job_info.rb in korinthenkacker-0.0.2
- old
+ new
@@ -7,9 +7,12 @@
@url = json['url']
@json = json
end
def build_numbers
- @json['builds'].map{ |build| build['number'] }
+ json['builds'].map { |build| build['number'] }
end
+
+ private
+ attr_reader :json
end
end