Sha256: dd4e31b04fe51bc6317b7ff7e9f433cce841bba18c942e1d6512d7f1c49ca58c

Contents?: true

Size: 325 Bytes

Versions: 21

Compression:

Stored size: 325 Bytes

Contents

class Fog::Rackspace::NetworkingV2::Real
  def create_security_group_rule(security_group_rule)
    data = {:security_group_rule => security_group_rule.attributes}

    request(
      :method  => 'POST',
      :body    => Fog::JSON.encode(data),
      :path    => "security-group-rules",
      :expects => 201
    )
  end
end

Version data entries

21 entries across 19 versions & 4 rubygems

Version Path
fog-rackspace-0.1.6 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-rackspace-0.1.5/lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-rackspace-0.1.5/lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-rackspace-0.1.5/lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-rackspace-0.1.5 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-rackspace-0.1.4 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-rackspace-0.1.3 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-rackspace-0.1.2 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-rackspace-0.1.1 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-rackspace-0.1.0 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-1.37.0 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-1.36.0 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-1.35.0 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-2.0.0.pre.0 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-1.34.0 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-1.33.0 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-1.32.0 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-1.31.0 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb
fog-1.30.0 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb