Class: Apadmi::Grout::BitriseBuild

Inherits:
Struct
  • Object
show all
Defined in:
lib/apadmi/grout/models/bitrise.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#commit_hashObject

Returns the value of attribute commit_hash

Returns:

  • (Object)

    the current value of commit_hash



11
12
13
# File 'lib/apadmi/grout/models/bitrise.rb', line 11

def commit_hash
  @commit_hash
end

#slugObject

Returns the value of attribute slug

Returns:

  • (Object)

    the current value of slug



11
12
13
# File 'lib/apadmi/grout/models/bitrise.rb', line 11

def slug
  @slug
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



11
12
13
# File 'lib/apadmi/grout/models/bitrise.rb', line 11

def status
  @status
end

#triggered_atObject

Returns the value of attribute triggered_at

Returns:

  • (Object)

    the current value of triggered_at



11
12
13
# File 'lib/apadmi/grout/models/bitrise.rb', line 11

def triggered_at
  @triggered_at
end

Instance Method Details

#finished_with_successObject



12
13
14
# File 'lib/apadmi/grout/models/bitrise.rb', line 12

def finished_with_success
  status == STATUS_SUCCESS
end