Sha256: 6cebdb5d7507ffd78c415f97384e6dd239b41688e6661f1838f430953a76c646
Contents?: true
Size: 590 Bytes
Versions: 4
Compression:
Stored size: 590 Bytes
Contents
module APIClientBase module Client def self.module(opts={}) mod = Module.new do mattr_accessor :api_client_base_client_options def self.included(base) base.class_attribute :api_client_base_client_options base.api_client_base_client_options = self.api_client_base_client_options base.send :include, APIClientBase::Client end end mod.api_client_base_client_options = opts mod end extend ActiveSupport::Concern included do extend APIClientBase::Client::ClassMethods end end end
Version data entries
4 entries across 4 versions & 1 rubygems