Module: YandexDisk

Defined in:
lib/yandex_disk/chunked.rb,
lib/yandex_disk.rb,
lib/yandex_disk/api.rb,
lib/yandex_disk/cfg.rb,
lib/yandex_disk/ext.rb

Overview

gist from sasimpson

Defined Under Namespace

Classes: Api, BadFormat, Chunked, RequestError

Constant Summary collapse

VERSION =
'1.1.3'
HOME_PAGE =
'https://github.com/denwwer/yandex_disk'
API_URL =
'https://webdav.yandex.ru'
DEBUG =

DON’T TURN ON DEBUG FOR PRODUCTION

false

Class Method Summary collapse

Class Method Details

.login(login, pwd) ⇒ Object



9
10
11
# File 'lib/yandex_disk.rb', line 9

def (, pwd)
  Api.new(, pwd)
end

.versionObject



5
6
7
# File 'lib/yandex_disk.rb', line 5

def version
  YandexDisk::VERSION
end