class PlanningCenter::Base
Attributes
attrs[RW]
client[R]
Public Class Methods
new(attrs, client)
click to toggle source
# File lib/planning_center/base.rb, line 7 def initialize(attrs, client) @attrs = attrs @client = client end
Public Instance Methods
method_missing(method_name, *args)
click to toggle source
Calls superclass method
# File lib/planning_center/base.rb, line 12 def method_missing(method_name, *args) attrs.fetch(method_name.to_s) { super } end
respond_to_missing?(method_name, _include_private = false)
click to toggle source
Calls superclass method
# File lib/planning_center/base.rb, line 16 def respond_to_missing?(method_name, _include_private = false) attrs.key?(method_name.to_s) || super end