Exception: BN::Error::API::InvalidRegion

Inherits:
Base
  • Object
show all
Defined in:
lib/bn/error/api/invalid_region.rb

Overview

Raised when the region is invalid.

Instance Method Summary collapse

Methods included from Helpers::HasAttributes

included, #initialize, #update_attributes

Instance Method Details

#to_sObject



8
9
10
# File 'lib/bn/error/api/invalid_region.rb', line 8

def to_s
  "Region must be one of the following: #{BN::API::REGIONS.keys}"
end