Sha256: 3b6b2c6627702a54c32543d11877be4d6ff3a4d7c80020be383081dc5b2add35
Contents?: true
Size: 619 Bytes
Versions: 5
Compression:
Stored size: 619 Bytes
Contents
module ShipCompliant class ComplianceRule < Struct.new(:response) # Returns the +ComplianceDescription+. def compliance_description response[:compliance_description] end # Checks if the current compliance rule was met. def compliant? response[:is_compliant] end # Returns the +RuleDescription+. def rule_description response[:rule_description] end # Returns the +LicenseRelationship+. def license_relationship response[:license_relationship] end # Returns the +RuleType+. def rule_type response[:rule_type] end end end
Version data entries
5 entries across 5 versions & 1 rubygems