Module: Conversant::V3::Mixins::Authentication::ClassMethods
- Defined in:
- lib/conversant/v3/mixins/authentication.rb
Overview
Class methods added when Authentication is included
Instance Method Summary collapse
-
#use_conversant_auth! ⇒ void
Enables Conversant authentication for the class.
Instance Method Details
#use_conversant_auth! ⇒ void
This method returns an undefined value.
Enables Conversant authentication for the class
Includes HttpClient module and sets up customer_id/type attributes. Call this in your class after including the Authentication mixin.
65 66 67 68 |
# File 'lib/conversant/v3/mixins/authentication.rb', line 65 def use_conversant_auth! include Conversant::V3::HttpClient attr_reader :customer_id, :type end |