Class: Bitferry::Endpoint

Inherits:
Object
  • Object
show all
Defined in:
lib/bitferry.rb

Direct Known Subclasses

Bitferry, Local, Rclone

Defined Under Namespace

Classes: Bitferry, Local, Rclone

Constant Summary collapse

ROUTE =
{
  local: Local,
  rclone: Rclone,
  bitferry: Bitferry
}

Class Method Summary collapse

Class Method Details

.restore(hash) ⇒ Object



1363
1364
1365
1366
1367
# File 'lib/bitferry.rb', line 1363

def self.restore(hash)
  endpoint = allocate
  endpoint.send(:restore, hash)
  endpoint
end