Module: Alfresco

Defined in:
lib/alfresco/version.rb,
lib/alfresco.rb,
lib/alfresco/api_error.rb,
lib/alfresco/api_client.rb,
lib/alfresco/models/node.rb,
lib/alfresco/models/error.rb,
lib/alfresco/configuration.rb,
lib/alfresco/api/search_api.rb,
lib/alfresco/models/path_info.rb,
lib/alfresco/models/user_info.rb,
lib/alfresco/models/pagination.rb,
lib/alfresco/models/error_error.rb,
lib/alfresco/models/result_node.rb,
lib/alfresco/models/content_info.rb,
lib/alfresco/models/path_element.rb,
lib/alfresco/models/search_entry.rb,
lib/alfresco/models/request_pivot.rb,
lib/alfresco/models/request_query.rb,
lib/alfresco/models/request_range.rb,
lib/alfresco/models/request_scope.rb,
lib/alfresco/models/request_stats.rb,
lib/alfresco/models/generic_bucket.rb,
lib/alfresco/models/generic_metric.rb,
lib/alfresco/models/request_fields.rb,
lib/alfresco/models/request_limits.rb,
lib/alfresco/models/result_buckets.rb,
lib/alfresco/models/search_request.rb,
lib/alfresco/models/request_include.rb,
lib/alfresco/models/request_defaults.rb,
lib/alfresco/models/request_facet_set.rb,
lib/alfresco/models/request_highlight.rb,
lib/alfresco/models/request_templates.rb,
lib/alfresco/models/result_set_paging.rb,
lib/alfresco/models/request_pagination.rb,
lib/alfresco/models/request_spellcheck.rb,
lib/alfresco/models/result_set_context.rb,
lib/alfresco/models/request_facet_field.rb,
lib/alfresco/models/request_facet_fields.rb,
lib/alfresco/models/request_localization.rb,
lib/alfresco/models/response_consistency.rb,
lib/alfresco/models/result_set_row_entry.rb,
lib/alfresco/models/request_facet_queries.rb,
lib/alfresco/models/generic_facet_response.rb,
lib/alfresco/models/request_filter_queries.rb,
lib/alfresco/models/result_buckets_buckets.rb,
lib/alfresco/models/result_set_paging_list.rb,
lib/alfresco/models/search_entry_highlight.rb,
lib/alfresco/models/request_facet_intervals.rb,
lib/alfresco/models/request_sort_definition.rb,
lib/alfresco/models/request_templates_inner.rb,
lib/alfresco/models/request_highlight_fields.rb,
lib/alfresco/models/generic_bucket_bucket_info.rb,
lib/alfresco/models/request_facet_queries_inner.rb,
lib/alfresco/models/request_filter_queries_inner.rb,
lib/alfresco/models/request_sort_definition_inner.rb,
lib/alfresco/models/result_set_context_spellcheck.rb,
lib/alfresco/models/result_set_context_facet_queries.rb,
lib/alfresco/models/request_facet_intervals_intervals.rb

Overview

#Alfresco Content Services REST API

#**Search API** Provides access to the search features of Alfresco Content Services.

OpenAPI spec version: 1

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

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, ContentInfo, Error, ErrorError, GenericBucket, GenericBucketBucketInfo, GenericFacetResponse, GenericMetric, Node, Pagination, PathElement, PathInfo, RequestDefaults, RequestFacetField, RequestFacetFields, RequestFacetIntervals, RequestFacetIntervalsIntervals, RequestFacetQueries, RequestFacetQueriesInner, RequestFacetSet, RequestFields, RequestFilterQueries, RequestFilterQueriesInner, RequestHighlight, RequestHighlightFields, RequestInclude, RequestLimits, RequestLocalization, RequestPagination, RequestPivot, RequestQuery, RequestRange, RequestScope, RequestSortDefinition, RequestSortDefinitionInner, RequestSpellcheck, RequestStats, RequestTemplates, RequestTemplatesInner, ResponseConsistency, ResultBuckets, ResultBucketsBuckets, ResultNode, ResultSetContext, ResultSetContextFacetQueries, ResultSetContextSpellcheck, ResultSetPaging, ResultSetPagingList, ResultSetRowEntry, SearchApi, SearchEntry, SearchEntryHighlight, SearchRequest, UserInfo

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

Alfresco.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/alfresco.rb', line 84

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