Sha256: cf53761c88d2ff2e521706a73457d98908011db8eb8c8bfd5ce7b61dec7af453
Contents?: true
Size: 778 Bytes
Versions: 21
Compression:
Stored size: 778 Bytes
Contents
# frozen_string_literal: true Gem.find_files('client/**/*.rb').each { |path| require path } Gem.find_files('entity/**/*.rb').each { |path| require path } module Uploadcare # End-user interface # # It delegates methods to other classes: # * To class methods of Entity objects # * To instance methods of Client objects # @see Uploadcare::Entity # @see Uploadcare::Client class Api extend Forwardable include Entity def_delegator File, :file def_delegators FileList, :file_list, :store_files, :delete_files def_delegators Group, :group def_delegators Project, :project def_delegators Uploader, :upload, :upload_files, :upload_url def_delegators Webhook, :create_webhook, :list_webhooks, :delete_webhook, :update_webhook end end
Version data entries
21 entries across 21 versions & 1 rubygems