Sha256: 516f02a83397ec8270c446f1c5408b42ed93ca265edd2179a252f2bdaf6c3b91
Contents?: true
Size: 266 Bytes
Versions: 1
Compression:
Stored size: 266 Bytes
Contents
module Korinthenkacker class JobInfo attr_reader :name, :url def initialize(json) @name = json['name'] @url = json['url'] @json = json end def build_numbers @json['builds'].map{ |build| build['number'] } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
korinthenkacker-0.0.1 | lib/korinthenkacker/job_info.rb |