19 20 21 22 23 24 25 26
# File 'lib/aitch/dsl.rb', line 19 def to_h { url: url, options: options || {}, headers: headers || {}, data: data } end