Class: Booth::Core::Remotes::Get

Inherits:
Object
  • Object
show all
Includes:
Logging, Calls
Defined in:
lib/booth/core/remotes/get.rb

Overview

Retrieves the current Remote for a Credential.

Instance Method Summary collapse

Instance Method Details

#callObject



13
14
15
16
17
# File 'lib/booth/core/remotes/get.rb', line 13

def call
  return Tron.failure :remote_not_found unless remote

  Tron.success(:found_recent_remote, **attributes)
end