Module: ActorSync::Adapters

Defined in:
lib/actor_sync/adapters.rb,
lib/actor_sync/adapters/segment.rb,
lib/actor_sync/adapters/intercom.rb,
lib/actor_sync/adapters/mixpanel.rb,
lib/actor_sync/adapters/sendgrid.rb

Defined Under Namespace

Modules: Mixpanel Classes: Intercom, Segment, Sendgrid

Class Method Summary collapse

Class Method Details

.get_adapter_klass(destination) ⇒ Object



8
9
10
11
# File 'lib/actor_sync/adapters.rb', line 8

def get_adapter_klass(destination)
  klass = "ActorSync::Adapters::#{destination.to_s.camelize}"
  klass.constantize
end