Module: YandexClient

Defined in:
lib/yandex_client.rb,
lib/yandex_client/dav.rb,
lib/yandex_client/auth.rb,
lib/yandex_client/disk.rb,
lib/yandex_client/version.rb,
lib/yandex_client/passport.rb,
lib/yandex_client/configurable.rb,
lib/yandex_client/error_handler.rb,
lib/yandex_client/dav/prop_find_response.rb

Defined Under Namespace

Modules: Configurable, ErrorHandler Classes: ApiRequestError, Auth, Config, Dav, Disk, Passport

Constant Summary collapse

NotFoundError =
Class.new(ApiRequestError)
VERSION =
'1.3.1'

Class Method Summary collapse

Class Method Details

.authObject



47
48
49
# File 'lib/yandex_client.rb', line 47

def auth
  @auth ||= Auth.new
end

.configObject



39
40
41
# File 'lib/yandex_client.rb', line 39

def config
  @config ||= Config.new(nil, nil, nil, 120, 600, 5)
end

.configure {|config| ... } ⇒ Object

Yields:



43
44
45
# File 'lib/yandex_client.rb', line 43

def configure
  yield config
end