Module: Delighted::Operations::Retrieve

Included in:
AutopilotConfiguration, Metrics, SurveyResponse
Defined in:
lib/delighted/operations/retrieve.rb

Defined Under Namespace

Modules: Pluralton, Singleton

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/delighted/operations/retrieve.rb', line 4

def self.included(klass)
  if klass.singleton_resource?
    klass.extend(Singleton::ClassMethods)
  else
    klass.extend(Pluralton::ClassMethods)
  end
end