Class: Locomotive::Steam::ThemeAsset

Inherits:
Object
  • Object
show all
Includes:
Models::Entity
Defined in:
lib/locomotive/steam/entities/theme_asset.rb

Instance Attribute Summary

Attributes included from Models::Entity

#associations, #attributes, #base_url, #localized_attributes

Instance Method Summary collapse

Methods included from Models::Entity

#[], #[]=, #_id, #change, #method_missing, #respond_to?, #serialize

Methods included from Models::Concerns::ToJson

#as_json, #to_hash, #to_json

Methods included from Models::Concerns::Validation

#errors, #valid?

Constructor Details

#initialize(attributes = {}) ⇒ ThemeAsset

Returns a new instance of ThemeAsset.



7
8
9
10
11
12
# File 'lib/locomotive/steam/entities/theme_asset.rb', line 7

def initialize(attributes = {})
  super({
    local_path: nil,
    checksum:   nil
  }.merge(attributes))
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Locomotive::Steam::Models::Entity