Sha256: 72e4c8173ee92826a2228f446315143e36db27f3713c389a22cb0b01ca8f68c4
Contents?: true
Size: 1.62 KB
Versions: 1
Compression:
Stored size: 1.62 KB
Contents
require_relative '../model' require_relative './app_store_review_attachment' module Spaceship class ConnectAPI class AppStoreReviewDetail include Spaceship::ConnectAPI::Model attr_accessor :contact_first_name attr_accessor :contact_last_name attr_accessor :contact_phone attr_accessor :contact_email attr_accessor :demo_account_name attr_accessor :demo_account_password attr_accessor :demo_account_required attr_accessor :notes attr_accessor :app_store_review_attachments attr_mapping({ "contactFirstName" => "contact_first_name", "contactLastName" => "contact_last_name", "contactPhone" => "contact_phone", "contactEmail" => "contact_email", "demoAccountName" => "demo_account_name", "demoAccountPassword" => "demo_account_password", "demoAccountRequired" => "demo_account_required", "notes" => "notes", "appStoreReviewAttachments" => "app_store_review_attachments" }) def self.type return "appStoreReviewDetails" end # # API # def update(client: nil, attributes: nil) client ||= Spaceship::ConnectAPI attributes = reverse_attr_mapping(attributes) return client.patch_app_store_review_detail(app_store_review_detail_id: id, attributes: attributes) end def upload_attachment(client: nil, path: nil) client ||= Spaceship::ConnectAPI return client::AppStoreReviewAttachment.create(app_store_review_detail_id: id, path: path) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fastlane_hotfix-2.187.0 | spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb |