Sha256: 05a5c8ac4cfb195a5e8c4ea4797cdebe471336c999834a23415017c7aaffbf42

Contents?: true

Size: 399 Bytes

Versions: 1

Compression:

Stored size: 399 Bytes

Contents

module AssetHostCore
  module Loaders
    class Base
      attr_accessor :title,
        :owner,
        :description,
        :url,
        :created,
        :file,
        :source,
        :id

      #------------------

      def initialize(attributes={})
        @id       = attributes[:id]
        @url      = attributes[:url]
        @source   = self.class::SOURCE
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asset_host_core-2.0.0.beta lib/asset_host_core/loaders/base.rb