Class: PullTempfile::Config
- Inherits:
-
Object
- Object
- PullTempfile::Config
- Defined in:
- lib/pull_tempfile.rb
Instance Attribute Summary collapse
Instance Attribute Details
#puller ⇒ Object
12 13 14 |
# File 'lib/pull_tempfile.rb', line 12 def puller @puller ||= ->(url){ Net::HTTP.get(URI.parse(url)) } end |