Skip to content

Commit

Permalink
chore: Fix androidpublisher sample (googleapis#18834)
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma authored Apr 25, 2024
1 parent 88f890a commit f2b23f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion samples/cli/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'https://rubygems.org'

gem 'google-apis-adsense_v1_4', '~> 0.1'
gem 'google-apis-analytics_v3', '~> 0.1'
gem 'google-apis-androidpublisher_v2', '~> 0.1'
gem 'google-apis-androidpublisher_v3', '~> 0.1'
gem 'google-apis-bigquery_v2', '~> 0.1'
gem 'google-apis-calendar_v3', '~> 0.1'
gem 'google-apis-drive_v3', '~> 0.1'
Expand Down
4 changes: 2 additions & 2 deletions samples/cli/lib/samples/androidpublisher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

require 'google/apis/androidpublisher_v2'
require 'google/apis/androidpublisher_v3'
require 'base_cli'


Expand All @@ -23,7 +23,7 @@ module Samples
#
# $ ./google-api-samples androidpublisher upload --apk-path /path/to/com.spiffygame.apk --package-name com.spiffygame
class Androidpublisher < BaseCli
Androidpublisher = Google::Apis::AndroidpublisherV2
Androidpublisher = Google::Apis::AndroidpublisherV3

desc 'upload', 'Upload an apk to Google Play'
method_option :apk_path, type: :string
Expand Down

0 comments on commit f2b23f7

Please sign in to comment.