Sha256: 25326b2e3e6a65c485fdb6a99dd5270de3f11d75bf2f080aa0c7a19d09c69df1

Contents?: true

Size: 249 Bytes

Versions: 1

Compression:

Stored size: 249 Bytes

Contents

class Zemanta
  class Markup
    extend ActiveSupport::Autoload

    autoload :Link

    attr_reader :text, :links

    def initialize(opts = {})
      @text  = opts["text"]
      @links = opts["links"].map{ |link| Link.new(link) }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zemanta_client-0.0.1 lib/zemanta/markup.rb