Module: LazyAnt::DSL

Extended by:
ActiveSupport::Concern
Includes:
Configurable, Connection, Endpoint
Defined in:
lib/lazy_ant/dsl.rb,
lib/lazy_ant/dsl/endpoint.rb,
lib/lazy_ant/dsl/grouping.rb,
lib/lazy_ant/dsl/connection.rb,
lib/lazy_ant/dsl/configurable.rb

Defined Under Namespace

Modules: ClassMethods, Configurable, Connection, Endpoint, Grouping

Instance Attribute Summary

Attributes included from Connection

#default_params

Instance Method Summary collapse

Methods included from Connection

#connection, #converter_block, #converter_name, #default_callback, #request_type, #response_type, #use_converter

Methods included from Configurable

#config

Instance Method Details

#initialize {|config| ... } ⇒ Object

Yields:



12
13
14
15
# File 'lib/lazy_ant/dsl.rb', line 12

def initialize(&_block)
  yield config if block_given?
  config.freeze
end