class ShopifyAPI::MobilePlatformApplication

Attributes

application_id[R]
enabled_shared_webcredentials[R]
id[R]
platform[R]
sha256_cert_fingerprints[R]

Public Class Methods

all( session: ShopifyAPI::Context.active_session, **kwargs ) click to toggle source
# File lib/shopify_api/rest/resources/2022_04/mobile_platform_application.rb, line 98
def all(
  session: ShopifyAPI::Context.active_session,
  **kwargs
)
  response = base_find(
    session: session,
    ids: {},
    params: {}.merge(kwargs).compact,
  )

  T.cast(response, T::Array[MobilePlatformApplication])
end
delete( id:, session: ShopifyAPI::Context.active_session ) click to toggle source
# File lib/shopify_api/rest/resources/2022_04/mobile_platform_application.rb, line 79
def delete(
  id:,
  session: ShopifyAPI::Context.active_session
)
  request(
    http_method: :delete,
    operation: :delete,
    session: session,
    ids: {id: id},
    params: {},
  )
end
find( id:, session: ShopifyAPI::Context.active_session ) click to toggle source
# File lib/shopify_api/rest/resources/2022_04/mobile_platform_application.rb, line 61
def find(
  id:,
  session: ShopifyAPI::Context.active_session
)
  result = base_find(
    session: session,
    ids: {id: id},
    params: {},
  )
  T.cast(result[0], T.nilable(MobilePlatformApplication))
end
new(session: ShopifyAPI::Context.active_session, from_hash: nil) click to toggle source
Calls superclass method ShopifyAPI::Rest::Base::new
# File lib/shopify_api/rest/resources/2022_04/mobile_platform_application.rb, line 19
def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)

  @application_id = T.let(nil, T.nilable(String))
  @enabled_shared_webcredentials = T.let(nil, T.nilable(T::Boolean))
  @enabled_universal_or_app_links = T.let(nil, T.nilable(T::Boolean))
  @id = T.let(nil, T.nilable(Integer))
  @platform = T.let(nil, T.nilable(String))
  @sha256_cert_fingerprints = T.let(nil, T.nilable(T::Array[T.untyped]))

  super(session: session, from_hash: from_hash)
end