Sha256: 3a3ace574054d4c5384cf8a82e23af9d72e42a49080650f9a27b2da2faa0467a

Contents?: true

Size: 459 Bytes

Versions: 3

Compression:

Stored size: 459 Bytes

Contents

require 'mirage/object'
require 'mirage/web'
require 'mirage/util'
require 'mirage/mock_response'
require 'mirage/mock_responses_collection'
require 'mirage/core'
require 'mirage/client'

module Mirage
  # When mirage starts it loads any ruby files found in the responses directory. Use this method to get hold of a client configured for the running server.
  def self.prime
    yield @@client
  end

  def self.client= client
    @@client = client
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mirage-2.0.0.alpha3 lib/mirage.rb
mirage-2.0.0.alpha2 lib/mirage.rb
mirage-2.0.0.alpha1 lib/mirage.rb