class Spaceship::Portal::Passbook
Attributes
@return (String
) the supported platform of this passbook @example
"ios"
Prefix provided by the Dev Portal
@example
"5A997XSHK2"
@return (String
) Status of the passbook @example
"current"
Public Class Methods
Source
# File spaceship/lib/spaceship/portal/passbook.rb, line 47 def all client.passbooks.map { |pass_type| self.new(pass_type) } end
@return (Array
) Returns all passbook available for this account
Source
# File spaceship/lib/spaceship/portal/passbook.rb, line 56 def create!(bundle_id: nil, name: nil) new_passbook = client.create_passbook!(name, bundle_id) self.new(new_passbook) end
Creates a new Passbook
ID on the Apple Dev Portal
@param bundle_id
[String] the bundle id (Passbook_id) of the passbook @param name [String] the name of the Passbook
@return (Passbook
) The Passbook
you just created