Class: Conjur::Policy::Types::Variable

Inherits:
Record show all
Includes:
ActsAsResource
Defined in:
lib/conjur/policy/types/records.rb

Instance Method Summary collapse

Methods included from ActsAsResource

#action, included, #initialize, #resource?, #resource_id, #resource_kind, #resourceid, #to_s

Methods inherited from Record

#resource?, #role?

Methods inherited from Base

#id_attribute, inherited, #referenced_records, register_yaml_type, #resource?, #role?, short_name

Methods included from InheritableAttribute

inherit_for, #inheritable_attr

Methods included from TypeChecking

#expect_array, #expect_boolean, #expect_hash, #expect_integer, #expect_layer, #expect_member, #expect_permission, #expect_record, #expect_resource, #expect_role, #expect_string, #expect_type, #test_resource, #test_role

Methods included from AttributeDefinition

#attribute, #define_field, #define_plural_field, #field?, #yaml_field?, #yaml_field_type

Instance Method Details

#custom_attribute_namesObject



363
364
365
# File 'lib/conjur/policy/types/records.rb', line 363

def custom_attribute_names
  [ :kind, :mime_type ]
end

#immutable_attribute_namesObject



367
368
369
# File 'lib/conjur/policy/types/records.rb', line 367

def immutable_attribute_names
  [ :kind, :mime_type ]
end