Sha256: e490707f92bb6b7c9d62449ede57dc289e71ad44341d7a436213f3f3943109d1

Contents?: true

Size: 766 Bytes

Versions: 4

Compression:

Stored size: 766 Bytes

Contents

require File.expand_path('cloudally/configuration', __dir__)
require File.expand_path('cloudally/api', __dir__)
require File.expand_path('cloudally/client', __dir__)
require File.expand_path('cloudally/version', __dir__)

module CloudAlly
  extend Configuration

  # Alias for CloudAlly::Client.new
  #
  # @return [CloudAlly::Client]
  def self.client(options = {})
    CloudAlly::Client.new(options)
  end

  # Delegate to CloudAlly::Client
  def self.method_missing(method, *args, &block)
    return super unless client.respond_to?(method)

    client.send(method, *args, &block)
  end

  # Delegate to CloudAlly::Client
  def self.respond_to?(method, include_all = false)
    client.respond_to?(method, include_all) || super
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cloudally-0.2.0 lib/cloudally.rb
cloudally-0.1.3 lib/cloudally.rb
cloudally-0.1.2 lib/cloudally.rb
cloudally-0.1.1 lib/cloudally.rb