Sha256: 9b4ff7425b6326c6fd8373e48f220a694cbb90d4fc2a221bc188706e8fa64974

Contents?: true

Size: 305 Bytes

Versions: 3

Compression:

Stored size: 305 Bytes

Contents

module Rooftop
  module ResourceLinks
    class Link < ::OpenStruct
      attr_accessor :link_type
      def initialize(link_type,args)
        @link_type = link_type
        super(args)
      end

      def resolve
        raise NotImplementedError, "TODO: resolve the link."
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rooftop-0.0.6 lib/rooftop/resource_links/link.rb
rooftop-0.0.5 lib/rooftop/resource_links/link.rb
rooftop-0.0.3 lib/rooftop/resource_links/link.rb