Sha256: 48a978f6ffb287b43254eebdfbbde98a69afb98a3712cf31068760e98f2ab702

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

require "faraday"
require "faraday_middleware"
require "json"

module Datatxt

  class Li < Base

    ENDPOINT = "/datatxt/li/v1"

    attr_accessor :text, :url, :html, :html_fragment, :clean

    def analyze(options)
      params = options
      call(ENDPOINT, params)
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datatxt-0.1.0 lib/datatxt/li.rb
datatxt-0.0.2 lib/datatxt/li.rb