-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add console script Co-authored-by: Tomislav Markanovic <[email protected]> * List all price points for an app Co-authored-by: Tomislav Markanovic <[email protected]> * Listing inAppPurchases and their details Co-authored-by: Tomislav Markanovic <[email protected]> * Manage In-App Purchases Co-authored-by: Tomislav Markanovic <[email protected]> * List In-App Purchase localizations Co-authored-by: Tomislav Markanovic <[email protected]> --------- Co-authored-by: Tomislav Markanovic <[email protected]>
- Loading branch information
1 parent
d46e8a8
commit 026f830
Showing
7 changed files
with
155 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env ruby | ||
# frozen_string_literal: true | ||
|
||
require 'bundler/setup' | ||
require 'app_store_connect' | ||
|
||
# You can add fixtures and/or initialization code here to make experimenting | ||
# with your gem easier. You can also use a different console, if you like. | ||
|
||
# (If you use this, don't forget to add pry to your Gemfile!) | ||
# require "pry" | ||
# Pry.start | ||
|
||
require 'irb' | ||
IRB.start(__FILE__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
lib/app_store_connect/requests/v2/in_app_purchase/create.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'app_store_connect/create_request' | ||
|
||
module AppStoreConnect | ||
module Requests | ||
module V2 | ||
module InAppPurchase | ||
class Create < CreateRequest | ||
data do | ||
type 'inAppPurchases' | ||
|
||
attributes do | ||
property :name, required: true | ||
property :product_id, required: true | ||
property :in_app_purchase_type, required: true | ||
property :available_in_all_territories | ||
property :family_sharable | ||
property :review_note | ||
end | ||
end | ||
end | ||
end | ||
end | ||
end | ||
end |
25 changes: 25 additions & 0 deletions
25
lib/app_store_connect/requests/v2/in_app_purchase/update.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'app_store_connect/create_request' | ||
|
||
module AppStoreConnect | ||
module Requests | ||
module V2 | ||
module InAppPurchase | ||
class Update < CreateRequest | ||
data do | ||
id | ||
type 'inAppPurchases' | ||
|
||
attributes do | ||
property :name | ||
property :available_in_all_territories | ||
property :family_sharable | ||
property :review_note | ||
end | ||
end | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters