Class: Crep::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/crep/model/crash_model/version.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(version, build, app_identifier) ⇒ Version

Returns a new instance of Version


7
8
9
10
11
# File 'lib/crep/model/crash_model/version.rb', line 7

def initialize(version, build, app_identifier)
  @version = version
  @build = build
  @app_identifier = app_identifier
end

Instance Attribute Details

#app_identifierObject (readonly)

Returns the value of attribute app_identifier


5
6
7
# File 'lib/crep/model/crash_model/version.rb', line 5

def app_identifier
  @app_identifier
end

#buildObject (readonly)

Returns the value of attribute build


5
6
7
# File 'lib/crep/model/crash_model/version.rb', line 5

def build
  @build
end

#versionObject (readonly)

Returns the value of attribute version


5
6
7
# File 'lib/crep/model/crash_model/version.rb', line 5

def version
  @version
end