class Fabricio::Model::Build

This model represents an application build

Attributes

build_number[R]
distributed_at[R]
id[R]
release_notes[R]
version[R]

Public Class Methods

new(attributes) click to toggle source

Returns a Build model object

@param attributes [Hash] @return [Fabricio::Model::Build]

# File lib/fabricio/models/build.rb, line 13
def initialize(attributes)
  @id = attributes['id']
  @version = attributes['build_version']['display_version']
  @build_number = attributes['build_version']['build_version']
  @release_notes = attributes['release_notes_summary']
  @distributed_at = attributes['distributed_at']
  @json = attributes
end