Class: Json::IpPermissionRange
- Inherits:
-
Object
- Object
- Json::IpPermissionRange
- Defined in:
- lib/provider/json.rb
Instance Method Summary collapse
- #cidr_ip ⇒ Object
-
#initialize(range) ⇒ IpPermissionRange
constructor
A new instance of IpPermissionRange.
- #to_str ⇒ Object
Constructor Details
#initialize(range) ⇒ IpPermissionRange
Returns a new instance of IpPermissionRange.
82 83 84 |
# File 'lib/provider/json.rb', line 82 def initialize(range) @range = range end |
Instance Method Details
#cidr_ip ⇒ Object
86 87 88 |
# File 'lib/provider/json.rb', line 86 def cidr_ip @range['CidrIp'] end |
#to_str ⇒ Object
90 91 92 |
# File 'lib/provider/json.rb', line 90 def to_str cidr_ip end |