module Invoicexpress::Authentication

Public Instance Methods

authenticated?() click to toggle source
# File lib/invoicexpress/authentication.rb, line 11
def authenticated?
  !authentication.empty?
end
authentication() click to toggle source
# File lib/invoicexpress/authentication.rb, line 3
def authentication
  if api_key
    { :api_key => api_key }
  else
    {}
  end
end