class ShopifyAPI::StorefrontAccessToken
Attributes
access_scope[R]
access_token[R]
created_at[R]
id[R]
title[R]
Public Class Methods
all( session: ShopifyAPI::Context.active_session, **kwargs )
click to toggle source
# File lib/shopify_api/rest/resources/2022_04/storefront_access_token.rb, line 75 def all( session: ShopifyAPI::Context.active_session, **kwargs ) response = base_find( session: session, ids: {}, params: {}.merge(kwargs).compact, ) T.cast(response, T::Array[StorefrontAccessToken]) end
delete( id:, session: ShopifyAPI::Context.active_session )
click to toggle source
# File lib/shopify_api/rest/resources/2022_04/storefront_access_token.rb, line 56 def delete( id:, session: ShopifyAPI::Context.active_session ) request( http_method: :delete, operation: :delete, session: session, ids: {id: id}, params: {}, ) 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/storefront_access_token.rb, line 19 def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil) @title = T.let(nil, T.nilable(String)) @access_scope = T.let(nil, T.nilable(String)) @access_token = T.let(nil, T.nilable(String)) @created_at = T.let(nil, T.nilable(String)) @id = T.let(nil, T.nilable(Integer)) super(session: session, from_hash: from_hash) end