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
clear()
click to toggle source
Clear credentials storage
# File lib/apipie_bindings/credentials.rb, line 19 def clear end
empty?()
click to toggle source
Check that credentials storage is empty
# File lib/apipie_bindings/credentials.rb, line 15 def empty? 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 10 def to_params {} end