class Datacash::Request::Request

Public Instance Methods

add_authentication(options = {}) click to toggle source
# File lib/datacash/request/request.rb, line 12
def add_authentication(options = {})
  self[:authentication] ||= {}
  self[:authentication][:client]   = options.fetch(:client)
  self[:authentication][:password] = options.fetch(:password)
end