Module: Echochamber::Agreement::UrlFileInfo

Defined in:
lib/echochamber/agreement/url_file_info.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) build(params)

Validates UrlFileInfo parameters

Parameters:

  • params (Hash)

    SYMBOL-referenced Hash

  • url (Hash)

    a customizable set of options

  • mimeType (Hash)

    a customizable set of options

  • name (Hash)

    a customizable set of options



11
12
13
14
15
# File 'lib/echochamber/agreement/url_file_info.rb', line 11

def build(params)

  # TODO validation goes here!
  params
end