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