Module: Invoicexpress::Authentication
- Included in:
- Client
- Defined in:
- lib/invoicexpress/authentication.rb
Instance Method Summary collapse
Instance Method Details
#authenticated? ⇒ Boolean
11 12 13 |
# File 'lib/invoicexpress/authentication.rb', line 11 def authenticated? !authentication.empty? end |
#authentication ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/invoicexpress/authentication.rb', line 3 def authentication if api_key { :api_key => api_key } else {} end end |