Class: SparkleAppcast::Appcast

Inherits:
Object
  • Object
show all
Defined in:
lib/sparkle_appcast/appcast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(archive, signer, url, release_note, params = {}) ⇒ Appcast

Returns a new instance of Appcast.



7
8
9
10
11
12
13
# File 'lib/sparkle_appcast/appcast.rb', line 7

def initialize(archive, signer, url, release_note, params = {})
  @archive = archive
  @signer = signer
  @url = url
  @release_note = release_note
  @params = params
end

Instance Attribute Details

#archiveObject (readonly)

Returns the value of attribute archive.



5
6
7
# File 'lib/sparkle_appcast/appcast.rb', line 5

def archive
  @archive
end

#paramsObject (readonly)

Returns the value of attribute params.



5
6
7
# File 'lib/sparkle_appcast/appcast.rb', line 5

def params
  @params
end

#release_noteObject (readonly)

Returns the value of attribute release_note.



5
6
7
# File 'lib/sparkle_appcast/appcast.rb', line 5

def release_note
  @release_note
end

#signerObject (readonly)

Returns the value of attribute signer.



5
6
7
# File 'lib/sparkle_appcast/appcast.rb', line 5

def signer
  @signer
end

#urlObject (readonly)

Returns the value of attribute url.



5
6
7
# File 'lib/sparkle_appcast/appcast.rb', line 5

def url
  @url
end

Instance Method Details

#rssObject



15
16
17
# File 'lib/sparkle_appcast/appcast.rb', line 15

def rss
  Rss.new(rss_params)
end