Module: Authful::Endpoint

Included in:
Authful
Defined in:
lib/authful/endpoint.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


3
4
5
6
7
8
# File 'lib/authful/endpoint.rb', line 3

def self.included(base)
  base.extend ClassMethods
  base.class_eval do
    @config = Struct.new(:endpoint, :api_key).new
  end
end