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-1.29.0 lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb