Class: Asteroid::ProviderProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/asteroid/provider.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(m, *args, &block) ⇒ Object



11
12
13
14
15
# File 'lib/asteroid/provider.rb', line 11

def method_missing(m, *args, &block)
  Config.providers.map do |p|
    p.send(m, *args, &block)
  end.flatten
end