module IletiMerkezi::Authentication
Public Instance Methods
auth_basic()
click to toggle source
# File lib/ileti_merkezi/utils/authentication.rb, line 14 def auth_basic config = IletiMerkezi.configuration { username: config.username, password: config.password } end
auth_token()
click to toggle source
# File lib/ileti_merkezi/utils/authentication.rb, line 22 def auth_token config = IletiMerkezi.configuration { key: config.public_key, hash: config.hmac } end
to_hash()
click to toggle source
# File lib/ileti_merkezi/utils/authentication.rb, line 10 def to_hash send(IletiMerkezi.configuration.auth_method) end