Module: BGPView

Defined in:
lib/bgpview.rb,
lib/bgpview/ip.rb,
lib/bgpview/api.rb,
lib/bgpview/asn.rb,
lib/bgpview/error.rb,
lib/bgpview/peers.rb,
lib/bgpview/number.rb,
lib/bgpview/version.rb,
lib/bgpview/prefixes.rb,
lib/bgpview/upstreams.rb,
lib/bgpview/downstreams.rb

Defined Under Namespace

Classes: API, ApiError, Asn, Downstreams, Error, InvalidASNumber, Ip, Number, Peers, Prefixes, Upstreams

Constant Summary collapse

VERSION =
'0.3.1'

Class Method Summary collapse

Class Method Details

.asn(number = 0) ⇒ Object



7
8
9
# File 'lib/bgpview.rb', line 7

def self.asn(number = 0)
  BGPView::Asn.find(number)
end