Sha256: afe3b149a4265023772871c280dd8f171d724b232dc3b11c619dc33d9c8dfa56
Contents?: true
Size: 798 Bytes
Versions: 20
Compression:
Stored size: 798 Bytes
Contents
module DeployGate module Xcode module MemberCenters class App attr_reader :uuid, :member_center # @param [String] uuid # @return [DeployGate::Xcode::MemberCenters::App] def initialize(uuid) @member_center = DeployGate::Xcode::MemberCenter.instance @uuid = uuid end # @return [Boolean] def created? @member_center.launcher.app.all.collect do |app| return true if app.bundle_id == @uuid end false end # @return [void] def create! @member_center.launcher.app.create!(bundle_id: @uuid, name: name()) end # @return [String] def name @uuid.split('.').join(' ') end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems