Module: TinyAppstoreConnect::Client::AppStoreVersion
- Included in:
- TinyAppstoreConnect::Client
- Defined in:
- lib/tiny_appstore_connect/clients/app_store_version.rb
Instance Method Summary collapse
- #select_version_build(id, build_id:) ⇒ Object
-
#version(id, **query) ⇒ Object
def versions(query = {}) get(‘appStoreVersions’, query) end.
Instance Method Details
#select_version_build(id, build_id:) ⇒ Object
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/tiny_appstore_connect/clients/app_store_version.rb', line 16 def select_version_build(id, build_id:) body = { data: { type: 'builds', id: build_id } } patch("appStoreVersions/#{id}/relationships/build", body: body) end |
#version(id, **query) ⇒ Object
def versions(query = {})
get('appStoreVersions', query)
end
12 13 14 |
# File 'lib/tiny_appstore_connect/clients/app_store_version.rb', line 12 def version(id, **query) get("appStoreVersions/#{id}", **query) end |