Sha256: 5c9154103e6206cd585b55ae71927c037c8c51ff196bf759b509e32ce2210d6c

Contents?: true

Size: 332 Bytes

Versions: 4

Compression:

Stored size: 332 Bytes

Contents

module Stir
  module Base
    class Client

      def self.set_default_options_for(subclass)
        subclass.class_eval do
          include Response
          attr_reader :response
        end
        subclass.config = { config_file: subclass.get_config_filepath(subclass.name.demodulize.underscore) }
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stir-2.2.3 lib/stir/base/client.rb
stir-2.2.2 lib/stir/base/client.rb
stir-2.2.1 lib/stir/base/client.rb
stir-2.1.1 lib/stir/base/client.rb