module Xapixctl::PhoenixClient

Constants

DEFAULT_ERROR_HANDLER
DEFAULT_SUCCESS_HANDLER
FORMATTERS
PREVIEW_FORMATTERS
SUPPORTED_RESOURCE_TYPES

sorting is intentional to reflect dependencies when exporting

TEXT_FORMATTERS

Public Class Methods

connection(url, token, default_success_handler: DEFAULT_SUCCESS_HANDLER, default_error_handler: DEFAULT_ERROR_HANDLER, logging: nil) click to toggle source
# File lib/xapixctl/phoenix_client.rb, line 72
def self.connection(url, token, default_success_handler: DEFAULT_SUCCESS_HANDLER, default_error_handler: DEFAULT_ERROR_HANDLER, logging: nil)
  Connection.new(url, token, default_success_handler, default_error_handler, logging)
end
supported_type?(type) click to toggle source
# File lib/xapixctl/phoenix_client.rb, line 76
def self.supported_type?(type)
  SUPPORTED_RESOURCE_TYPES.include?(type)
end