Method: Setsuzoku::AuthStrategy#credential

Defined in:
lib/setsuzoku/auth_strategy.rb,
lib/setsuzoku/auth_strategy.rb

#credentialCredential

The getter method for a credential should retrieve dynamically if it’s a proc. We cannot assign this at initialize time, as it may not yet exist on the instance.

Returns:

  • (Credential)

    the credential to use for the current requests.



54
55
56
# File 'lib/setsuzoku/auth_strategy.rb', line 54

def credential
  @credential
end