Class: Aitch::DSL

Inherits:
Object show all
Defined in:
lib/aitch/dsl.rb

Instance Method Summary collapse

Instance Method Details

#to_hObject


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