class ShipIO::Job

Attributes

client[R]
name[RW]
repository_branch[RW]
repository_name[RW]
repository_url[RW]
uuid[RW]

Public Class Methods

new(client, options = {}) click to toggle source
# File lib/ShipIO/models/job.rb, line 6
def initialize(client, options = {})
  @client = client

  @uuid = options[:uuid]
  @name = options[:name]
  @repository_name = options[:repository_name]
  @repository_branch = options[:repository_branch]
  @repository_url = options[:repository_url]
end

Public Instance Methods

builds() click to toggle source
# File lib/ShipIO/models/job.rb, line 16
def builds
  @client.builds(self)
end