Sha256: e87072573797656353b2bdb46ff7caebfcf360da4fc28d8b444b9a881eaf4422

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 KB

Contents

# frozen_string_literal: true

require 'app_store_connect/client'
require 'app_store_connect/object/type'
require 'app_store_connect/object/id'
require 'app_store_connect/object/attributes'
require 'app_store_connect/object/properties'
require 'app_store_connect/object/data'
require 'app_store_connect/version'

require 'app_store_connect/app_store_version_build_linkage_request'
require 'app_store_connect/app_store_version_create_request'
require 'app_store_connect/app_store_version_phased_release_create_request'
require 'app_store_connect/app_store_version_phased_release_update_request'
require 'app_store_connect/app_store_version_update_request'
require 'app_store_connect/build_update_request'
require 'app_store_connect/bundle_id_capability_create_request'
require 'app_store_connect/bundle_id_create_request'
require 'app_store_connect/certificate_create_request'
require 'app_store_connect/device_create_request'
require 'app_store_connect/profile_create_request'
require 'app_store_connect/review_submission_create_request'
require 'app_store_connect/review_submission_item_create_request'
require 'app_store_connect/review_submission_update_request'
require 'app_store_connect/user_invitation_create_request'

module AppStoreConnect
  @config = {}

  class << self
    attr_accessor :config

    def rel(id, type, array: false)
      if array
        { data: [{ id: id, type: type }] }.freeze
      else
        { data: { id: id, type: type } }.freeze
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
app_store_connect-0.29.0 lib/app_store_connect.rb
app_store_connect-0.28.0 lib/app_store_connect.rb