Method: FutureWebItem#to_item_request_params

Defined in:
lib/we_transfer_client/future_web_item.rb

#to_item_request_paramsObject



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/we_transfer_client/future_web_item.rb', line 6

def to_item_request_params
  # Ideally the content identifier should stay the same throughout multiple
  # calls if the file contents doesn't change.
  {
    content_identifier: 'web_content',
    local_identifier: local_identifier,
    url: url,
    meta: {
      title: title
    }
  }
end