Class: Booth::Core::Remotes::Get
- Inherits:
-
Object
- Object
- Booth::Core::Remotes::Get
- 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
#call ⇒ Object
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 |