Sha256: 54da366cf2a69bd74969f19b1138389a4340712c37099aeeda63f71712dd81f2

Contents?: true

Size: 281 Bytes

Versions: 2

Compression:

Stored size: 281 Bytes

Contents

module Flms
  class EmbedLayerViewObject < Flms::LayerViewObject

    def embed_code
      @layer.embed_code
    end

    def attributes(scroll_offset = 0)
      attributes = keyframe_data_hash(scroll_offset)
      attributes[:id] = @layer.name
      attributes
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flms-0.9.0 app/view_objects/flms/embed_layer_view_object.rb
flms-0.1.0 app/view_objects/flms/embed_layer_view_object.rb