Class: Sheetsu::Create
Instance Method Summary
collapse
Methods inherited from Request
#call, #initialize
Instance Method Details
#row(row, options = {}) ⇒ Object
4
5
6
7
8
9
|
# File 'lib/sheetsu/create.rb', line 4
def row(row, options={})
add_options_to_url(options)
response = call(:post, row)
parse_response(response)
end
|
#rows(rows, options = {}) ⇒ Object
11
12
13
14
15
16
|
# File 'lib/sheetsu/create.rb', line 11
def rows(rows, options={})
add_options_to_url(options)
response = call(:post, { rows: rows })
parse_response(response)
end
|