Class: PullTempfile::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/pull_tempfile.rb

Instance Attribute Summary collapse

Instance Attribute Details

#pullerObject



12
13
14
# File 'lib/pull_tempfile.rb', line 12

def puller
  @puller ||= ->(url){ Net::HTTP.get(URI.parse(url)) }
end