Method: Chain::AccessToken::ClientModule#query

Defined in:
lib/chain/access_token.rb

#query(opts = {}) ⇒ Query

Get all access tokens sorted by descending creation time, optionally filtered by type.

Parameters:

  • opts (Hash) (defaults to: {})

    Filtering information

Options Hash (opts):

  • :type (String)

    DEPRECATED. Do not use in 1.2 or greater.

Returns:



46
47
48
# File 'lib/chain/access_token.rb', line 46

def query(opts = {})
  Query.new(client, opts)
end