Module: DirectusSDK

Defined in:
lib/directus_sdk/version.rb,
lib/directus_sdk.rb,
lib/directus_sdk/api_error.rb,
lib/directus_sdk/api_client.rb,
lib/directus_sdk/api/files_api.rb,
lib/directus_sdk/api/utils_api.rb,
lib/directus_sdk/configuration.rb,
lib/directus_sdk/api/groups_api.rb,
lib/directus_sdk/api/tables_api.rb,
lib/directus_sdk/models/get_file.rb,
lib/directus_sdk/api/activity_api.rb,
lib/directus_sdk/api/messages_api.rb,
lib/directus_sdk/api/settings_api.rb,
lib/directus_sdk/models/get_files.rb,
lib/directus_sdk/models/get_group.rb,
lib/directus_sdk/models/get_table.rb,
lib/directus_sdk/api/bookmarks_api.rb,
lib/directus_sdk/models/get_groups.rb,
lib/directus_sdk/models/get_tables.rb,
lib/directus_sdk/models/get_message.rb,
lib/directus_sdk/api/preferences_api.rb,
lib/directus_sdk/models/get_activity.rb,
lib/directus_sdk/models/get_bookmark.rb,
lib/directus_sdk/models/get_messages.rb,
lib/directus_sdk/models/get_settings.rb,
lib/directus_sdk/models/get_bookmarks.rb,
lib/directus_sdk/models/get_table_row.rb,
lib/directus_sdk/models/get_files_data.rb,
lib/directus_sdk/models/get_privileges.rb,
lib/directus_sdk/models/get_table_data.rb,
lib/directus_sdk/models/get_table_rows.rb,
lib/directus_sdk/models/get_groups_data.rb,
lib/directus_sdk/models/get_preferences.rb,
lib/directus_sdk/models/get_tables_data.rb,
lib/directus_sdk/models/get_tables_meta.rb,
lib/directus_sdk/models/get_settings_for.rb,
lib/directus_sdk/models/get_table_column.rb,
lib/directus_sdk/models/get_activity_data.rb,
lib/directus_sdk/models/get_activity_meta.rb,
lib/directus_sdk/models/get_messages_data.rb,
lib/directus_sdk/models/get_messages_meta.rb,
lib/directus_sdk/models/get_settings_data.rb,
lib/directus_sdk/models/get_table_columns.rb,
lib/directus_sdk/models/get_bookmarks_data.rb,
lib/directus_sdk/models/get_bookmarks_meta.rb,
lib/directus_sdk/models/get_privileges_data.rb,
lib/directus_sdk/models/get_table_rows_data.rb,
lib/directus_sdk/models/get_table_rows_meta.rb,
lib/directus_sdk/models/get_groups_data_data.rb,
lib/directus_sdk/models/get_groups_data_meta.rb,
lib/directus_sdk/models/get_preferences_data.rb,
lib/directus_sdk/models/get_settings_for_meta.rb,
lib/directus_sdk/models/get_table_column_data.rb,
lib/directus_sdk/models/get_messages_responses.rb,
lib/directus_sdk/models/get_table_columns_data.rb,
lib/directus_sdk/models/get_settings_data_files.rb,
lib/directus_sdk/models/get_privileges_for_table.rb,
lib/directus_sdk/models/get_settings_data_global.rb

Overview

#directus.io

#API for directus.io

OpenAPI spec version: 1.1

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 3.0.0-SNAPSHOT

Defined Under Namespace

Classes: ActivityApi, ApiClient, ApiError, BookmarksApi, Configuration, FilesApi, GetActivity, GetActivityData, GetActivityMeta, GetBookmark, GetBookmarks, GetBookmarksData, GetBookmarksMeta, GetFile, GetFiles, GetFilesData, GetGroup, GetGroups, GetGroupsData, GetGroupsDataData, GetGroupsDataMeta, GetMessage, GetMessages, GetMessagesData, GetMessagesMeta, GetMessagesResponses, GetPreferences, GetPreferencesData, GetPrivileges, GetPrivilegesData, GetPrivilegesForTable, GetSettings, GetSettingsData, GetSettingsDataFiles, GetSettingsDataGlobal, GetSettingsFor, GetSettingsForMeta, GetTable, GetTableColumn, GetTableColumnData, GetTableColumns, GetTableColumnsData, GetTableData, GetTableRow, GetTableRows, GetTableRowsData, GetTableRowsMeta, GetTables, GetTablesData, GetTablesMeta, GroupsApi, MessagesApi, PreferencesApi, SettingsApi, TablesApi, UtilsApi

Constant Summary collapse

VERSION =
"1.1.1"

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

DirectusSDK.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



84
85
86
87
88
89
90
# File 'lib/directus_sdk.rb', line 84

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end