Permalink
Browse files

Add alias for starttime on Performance summary

* aliased to start_at to match endtime alias
  • Loading branch information...
1 parent 608fe55 commit be955f15cacb21a0b62555a825c906179c696137 @mtodd committed Mar 1, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/pingdom-client.rb
View
@@ -365,6 +365,7 @@ def self.parse(client, response)
def starttime
Time.at(@attributes[:starttime])
end
+ alias_method :start_at, :starttime
def endtime
starttime + INTERVALS[interval.to_s].to_i

0 comments on commit be955f1

Please sign in to comment.