Class: Crep::AppSource

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

Direct Known Subclasses

HockeyAppAppSource

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#versionObject (readonly)

Returns the value of attribute version


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

def version
  @version
end

Instance Method Details

#appsObject


11
12
13
# File 'lib/crep/model/app_source/app_source.rb', line 11

def apps
  raise 'AppSource subclass has to implement the `apps` method.'
end

#configureObject


7
8
9
# File 'lib/crep/model/app_source/app_source.rb', line 7

def configure
  CrepLogger.info('Configuration of the CrashSource can happen in the `configure` method')
end

#versions(_app_identifier) ⇒ Object

versions returns the versions for the given app identifier


16
17
18
# File 'lib/crep/model/app_source/app_source.rb', line 16

def versions(_app_identifier)
  raise 'AppSource subclass has to implement the `versions` method.'
end