Skip to content

Can't pass both byprobe and bycountry to summary.average #2

@duien

Description

@duien

The default :byprobe option should only be used if :bycountry is not set

ruby-1.8.7-p302 > $client.checks.first.summary.average :bycountry => true
Pingdom::Error: bycountry and byprobe can not both be set to true (400 Bad Request)
    from ./lib/pingdom/base.rb:42:in `check_error!'
    from ./lib/pingdom/base.rb:49:in `parse'
    from ./lib/pingdom/summary/average.rb:12:in `parse'
    from ./lib/pingdom/summary.rb:8:in `average'
    from (irb):1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions