Class: Lanes::Asset

Inherits:
Model
  • Object
show all
Defined in:
lib/lanes/asset.rb

Constant Summary

Constants included from Concerns::ApiAttributeAccess

Concerns::ApiAttributeAccess::DEFAULT_BLACKLISTED

Instance Method Summary collapse

Methods included from Concerns::ApiAttributeAccess

#_set_attribute_data_from_collection, #set_attribute_data, #setting_attribute_is_allowed?

Instance Method Details

#present?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/lanes/asset.rb', line 11

def present?
    super && file.present?
end