Module: Shushu::RevRep

Extended by:
RevRep
Included in:
RevRep
Defined in:
lib/models/rev_rep.rb

Instance Method Summary collapse

Instance Method Details

#get(from, to) ⇒ Object



5
6
7
8
9
# File 'lib/models/rev_rep.rb', line 5

def get(from, to)
  Shushu.handle_req do
    RestClient.get([Shushu.url, "/rev_report"].join, {:params => {:from => from.utc.to_s, :to => to.utc.to_s}})
  end
end