Sha256: ba393658d08c83d038f62b7e784570760ef8ae850345e1e8942b41057addba29

Contents?: true

Size: 348 Bytes

Versions: 5

Compression:

Stored size: 348 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, :schedule_at
  
  validates :name, presence: true
  
  def scraper=(value)
    write_attribute(:scraper, Faraday::UploadIO.new(value, 'text/plain') )
  end
  
end

end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
quandl_client-2.7.12 lib/quandl/client/models/scraper.rb
quandl_client-2.7.9 lib/quandl/client/models/scraper.rb
quandl_client-2.7.8 lib/quandl/client/models/scraper.rb
quandl_client-2.7.7 lib/quandl/client/models/scraper.rb
quandl_client-2.7.6 lib/quandl/client/models/scraper.rb