lib/journey/resource/count.rb in embark-journey-0.0.25 vs lib/journey/resource/count.rb in embark-journey-0.0.26

- old
+ new

@@ -2,10 +2,10 @@ module Journey::Resource::Count extend ActiveSupport::Concern included do - def self.count(constraints) + def self.count(constraints={}) get(:count, constraints)["count"] end end end