Method: Spaceship::Client#fetch_program_license_agreement_messages
- Defined in:
- spaceship/lib/spaceship/client.rb
#fetch_program_license_agreement_messages ⇒ Object
Get contract messages from App Store Connect’s “olympus” endpoint
667 668 669 670 671 672 673 674 675 676 677 678 679 680 |
# File 'spaceship/lib/spaceship/client.rb', line 667 def = [] = request(:get, "https://appstoreconnect.apple.com/olympus/v1/contractMessages") body = .body if body body = JSON.parse(body) if body.kind_of?(String) body.map do || .push(["message"]) end end return end |