Method: Bvr::Customer#calls

Defined in:
lib/bvr/customer.rb

#calls(options = {}) ⇒ Object



135
136
137
138
# File 'lib/bvr/customer.rb', line 135

def calls(options={})
  return @_calls if @_calls && @_calls.query_params == options
  @_calls = Bvr::CallCollection.find_by_customer_id(self.id, options)
end