1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/cloudsigma/models/rule.rb

19 lines
531 B
Ruby
Raw Normal View History

2013-09-16 09:08:45 -04:00
require 'fog/cloudsigma/nested_model'
module Fog
module Compute
class CloudSigma
class Rule < Fog::CloudSigma::CloudsigmaModel
attribute :action, :type => :string
attribute :comment, :type => :string
attribute :direction, :type => :string
attribute :dst_ip, :type => :string
attribute :dst_port, :type => :integer
attribute :ip_proto, :type => :string
attribute :src_ip, :type => :string
attribute :src_port, :type => :string
end
end
end
end