Class: SimpleAcp::Models::Dependency

Inherits:
Base
  • Object
show all
Defined in:
lib/simple_acp/models/metadata.rb

Overview

Dependency declaration

Instance Method Summary collapse

Methods inherited from Base

#==, attribute, attributes, from_hash, #hash, #initialize, own_attributes, #to_h, #to_json

Constructor Details

This class inherits a constructor from SimpleAcp::Models::Base

Instance Method Details

#valid? ⇒ Boolean

Returns:

  • (Boolean)


67
68
69
# File 'lib/simple_acp/models/metadata.rb', line 67

def valid?
  Types::DependencyType::ALL.include?(@type)
end