Class: PlanningCenter::ServiceType

Inherits:
Base
  • Object
show all
Defined in:
lib/planning_center/service_type.rb

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize, #method_missing, #respond_to_missing?

Constructor Details

This class inherits a constructor from PlanningCenter::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PlanningCenter::Base

Instance Method Details

#plansObject



5
6
7
# File 'lib/planning_center/service_type.rb', line 5

def plans
  @plans ||= Plan.find_all_for_service_type(id, client)
end