class Passbook::Signature

Public Class Methods

new(manifest, authority) click to toggle source
# File lib/passbook/signature.rb, line 3
def initialize(manifest, authority)
  @manifest, @authority = manifest, authority
end

Public Instance Methods

content() click to toggle source
# File lib/passbook/signature.rb, line 11
def content
  @content ||= @authority.sign(@manifest.content)
end
filename() click to toggle source
# File lib/passbook/signature.rb, line 7
def filename
  "signature"
end