Class: PlanningCenter::Arrangement

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

Instance Attribute Summary

Attributes inherited from Base

#attrs

Class 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

Class Method Details

.find(id, client) ⇒ Object



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

def self.find(id, client)
  attrs = client.get("/arrangements/#{id}.json")
  new(attrs, client)
end