Sha256: 78000cb999cc82725e2766b16d146740b2b3599ff819df7488700ec431797701
Contents?: true
Size: 319 Bytes
Versions: 1
Compression:
Stored size: 319 Bytes
Contents
# -*- encoding: utf-8 -*- module Simplenet module Client class AnycastIp < Base def initialize(url) @url = url @fullurl = "#{url}/anycastips" end def create(anycast_id, ip) simplenet_post(@fullurl, {:ip => ip, :anycast_id => anycast_id}) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simplenet-client-0.2.0 | ./lib/simplenet/client/anycastip.rb |