Module: Request::Builder::Dsl

Defined in:
lib/request/builder/dsl.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/request/builder/dsl.rb', line 4

def self.included(base)
  base.extend ClassMethods
  base.class_eval do
    def config
      @config ||= self.class.config
    end
  end
end