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
clear()click to toggle source
Clear credentials storage
# File lib/apipie_bindings/credentials.rb, line 19defclearend
empty?()click to toggle source
Check that credentials storage is empty
# File lib/apipie_bindings/credentials.rb, line 15defempty?end
to_params()click to toggle source
Convert credentials to hash usable for merging to RestClient configuration
@return [Hash]
# File lib/apipie_bindings/credentials.rb, line 10defto_params
{}
end