class Twobook::AccountQuery
Public Class Methods
named(constraints)
click to toggle source
# File lib/twobook/account_query.rb, line 42 def self.named(constraints) new.named(constraints) end
none()
click to toggle source
# File lib/twobook/account_query.rb, line 46 def self.none new.none end
where(constraints)
click to toggle source
# File lib/twobook/account_query.rb, line 38 def self.where(constraints) new.where(constraints) end
Public Instance Methods
after(event)
click to toggle source
# File lib/twobook/account_query.rb, line 3 def after(event) @after = event self end
and(other)
click to toggle source
# File lib/twobook/account_query.rb, line 16 def and(other) AndQuery.new(self, other) end
Also aliased as: &
named(constraints)
click to toggle source
# File lib/twobook/account_query.rb, line 30 def named(constraints) WhereQuery.new(self, constraints).convert_to_name_query end
none()
click to toggle source
# File lib/twobook/account_query.rb, line 34 def none NoneQuery.new end
none?()
click to toggle source
# File lib/twobook/account_query.rb, line 8 def none? false end
on(array)
click to toggle source
# File lib/twobook/account_query.rb, line 12 def on(array) array end
or(other)
click to toggle source
# File lib/twobook/account_query.rb, line 21 def or(other) OrQuery.new(self, other) end
Also aliased as: |
where(constraints)
click to toggle source
# File lib/twobook/account_query.rb, line 26 def where(constraints) WhereQuery.new(self, constraints) end