Sha256: 5ef1952b18e2d3e8ea4a35a54751e67c52fc6000c364d875f7d2eb036d145516

Contents?: true

Size: 359 Bytes

Versions: 10

Compression:

Stored size: 359 Bytes

Contents

module Quandl
module Command
class Presenters

class ScraperPresenter < Quandl::Command::Presenter::Record
  
  def as_pipes
    pipes = [object.name]
    #pipes += [object.scraper_url, object.git_url, object.git_reference].compact if doc?
    pipes
  end
  
  def id
    object.try(:name)
  end
  
  def detail
    object.try(:type)
  end
  
end

end
end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
quandl-0.4.4 lib/quandl/command/presenters/scraper_presenter.rb
quandl-0.4.3 lib/quandl/command/presenters/scraper_presenter.rb
quandl-0.4.2 lib/quandl/command/presenters/scraper_presenter.rb
quandl-0.4.1 lib/quandl/command/presenters/scraper_presenter.rb
quandl-0.4.0 lib/quandl/command/presenters/scraper_presenter.rb
quandl-0.3.7 lib/quandl/command/presenters/scraper_presenter.rb
quandl-0.3.6 lib/quandl/command/presenters/scraper_presenter.rb
quandl-0.3.4 lib/quandl/command/presenters/scraper_presenter.rb
quandl-0.3.3 lib/quandl/command/presenters/scraper_presenter.rb
quandl-0.3.0 lib/quandl/command/presenters/scraper_presenter.rb