class ApipieBindings::AbstractCredentials
AbstractCredentials
class can hold your logic to get users credentials. It defines interface that can be used by ApipieBindings
when the credentials are needed to create connection
Public Instance Methods
Source
# File lib/apipie_bindings/credentials.rb, line 19 def clear end
Clear credentials storage
Source
# File lib/apipie_bindings/credentials.rb, line 15 def empty? end
Check that credentials storage is empty
Source
# File lib/apipie_bindings/credentials.rb, line 10 def to_params {} end
Convert credentials to hash usable for merging to RestClient configuration @return [Hash]