Sha256: e5c032070c6c725fb4d11bb34c92b2abf14ae9ecf2971301d8e0abd2eaa4b2f5

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 Bytes

Contents

module Quandl
module Client

class Scraper < Quandl::Client::Base
  
  attributes :id, :name, :scraper, :scraper_url, :git_url, :git_reference, :created_at, :updated_at, :type
  
  validates :name, presence: true
  
  def scraper=(value)
    write_attribute(:scraper, Faraday::UploadIO.new(value, 'text/plain') )
  end
  
end

end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quandl_client-2.7.4 lib/quandl/client/models/scraper.rb