class Passbook::Pass

Public Class Methods

new(specs) click to toggle source
# File lib/passbook/pass.rb, line 5
def initialize(specs)
  @specs = specs
end

Public Instance Methods

content() click to toggle source
# File lib/passbook/pass.rb, line 13
def content
  @content ||= @specs.to_json
end
filename() click to toggle source
# File lib/passbook/pass.rb, line 9
def filename
  "pass.json"
end