Module: Uploadcare

Defined in:
lib/uploadcare/uploadcare.rb,
lib/uploadcare/ruby.rb,
lib/uploadcare/api/api.rb,
lib/uploadcare/entity/file.rb,
lib/uploadcare/entity/group.rb,
lib/uploadcare/ruby/version.rb,
lib/uploadcare/entity/project.rb,
lib/uploadcare/entity/webhook.rb,
lib/uploadcare/entity/uploader.rb,
lib/uploadcare/entity/file_list.rb,
lib/uploadcare/entity/group_list.rb,
lib/uploadcare/client/file_client.rb,
lib/uploadcare/client/rest_client.rb,
lib/uploadcare/client/group_client.rb,
lib/uploadcare/client/upload_client.rb,
lib/uploadcare/client/project_client.rb,
lib/uploadcare/client/webhook_client.rb,
lib/uploadcare/concerns/error_handler.rb,
lib/uploadcare/concerns/request_error.rb,
lib/uploadcare/service/upload_adapter.rb,
lib/uploadcare/client/file_list_client.rb,
lib/uploadcare/client/rest_group_client.rb,
lib/uploadcare/uploadcare_configuration.rb,
lib/uploadcare/concerns/throttle_handler.rb,
lib/uploadcare/header/secure_auth_header.rb,
lib/uploadcare/header/simple_auth_header.rb,
lib/uploadcare/header/authentication_header.rb,
lib/uploadcare/concerns/upload_error_handler.rb,
lib/uploadcare/client/multipart_upload_client.rb,
lib/uploadcare/service/upload/signature_generator.rb,
lib/uploadcare/client/multipart_upload/chunks_client.rb,
lib/uploadcare/service/upload/upload_params_generator.rb

Overview

Ruby wrapper for Uploadcare API

uploadcare.com/docs/api_reference

Defined Under Namespace

Modules: Entity, ErrorHandler, MultipartUpload, ThrottleHandler, Upload, UploadErrorHandler Classes: Api, AuthenticationHeader, Error, FileClient, FileListClient, Group, GroupClient, GroupList, MultipartUploadClient, ProjectClient, RequestError, RestClient, RestGroupClient, SecureAuthHeader, SimpleAuthHeader, ThrottleError, UploadAdapter, UploadClient, WebhookClient

Constant Summary collapse

VERSION =
'3.0.0-dev'

Class Method Summary collapse

Class Method Details

.configurationObject


6
7
8
# File 'lib/uploadcare/uploadcare_configuration.rb', line 6

def self.configuration
  @configuration ||= OpenStruct.new
end

.configure {|configuration| ... } ⇒ Object

Yields:


10
11
12
# File 'lib/uploadcare/uploadcare_configuration.rb', line 10

def self.configure
  yield(configuration)
end