Sha256: 105c4bb87e6983d8ed88ca7932e3e2381ad0251363d79354d493cb5451b1d060
Contents?: true
Size: 486 Bytes
Versions: 2
Compression:
Stored size: 486 Bytes
Contents
module OpenAssets module Protocol class AssetDefinitionLoader attr_reader :loader def initialize(metadata) if metadata.start_with?('http://') || metadata.start_with?('https://') @loader = HttpAssetDefinitionLoader.new(metadata) end end # load Asset Definition File # @return[OpenAssets::Protocol::AssetDefinition] loaded asset definition object def load_definition @loader.load end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openassets-ruby-0.5.3 | lib/openassets/protocol/asset_definition_loader.rb |
openassets-ruby-0.5.2 | lib/openassets/protocol/asset_definition_loader.rb |