Sha256: 25791d7831b036701ba0eb95011446e2c94c35874220c726a14694ccfc554ec3

Contents?: true

Size: 1.89 KB

Versions: 1

Compression:

Stored size: 1.89 KB

Contents

defaults: &defaults
  public_key: "demopublickey" # replace it with your public key
  private_key: "demoprivatekey" # replace it with your private key

  # Avaliable options are listed at https://uploadcare.com/documentation/widget/#advanced-configuration
  # please note, that for options marker as Global: N/A - there is no practical meaning
  # of putting this option here, as it will not have any effect. 
  # But it also will not break anything.

  # for preview step use:
  preview_step: false # true or false

  # for clearable option (allows user to remove uploaded file from widget) use:
  clearable: false # true or false

  # for setting tabs use tabs option:
  tabs: "url file facebook" # etc
  # read more here: https://uploadcare.com/documentation/widget/#tabs
  # 
  #   Full list of tabs: 
  # |----------------------------------------|
  # | Code       | File Source     | Default |
  # |------------|-----------------|---------|
  # | url        | Any URL         | On      |
  # | file       | Local disk      | On      |
  # | facebook   | Facebook        | On      |
  # | dropbox    | Dropbox         | Off     |
  # | gdrive     | Google Drive    | On      |
  # | box        | Box             | On      |
  # | skydrive   | SkyDrive        | On      |
  # | instagram  | Instagram       | On      |
  # | evernote   | Evernote        | On      |
  # | vk         | VK              | Off     |
  # |________________________________________|

  # for locale option use:
  locale: "en"

  # for autostore option use:
  autostore: true #true or false

  # for manual start (which means you will need to initialize uploaders yourself) use:
  manual_start: false # true or false

  # for path value use:
  path_value: true # true or false
  # (important for input values - see https://uploadcare.com/documentation/widget/#input-value)

development:
  <<: *defaults

test:
  <<: *defaults

production:
  <<: *defaults

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uploadcare-rails-1.0.0.rc4 spec/dummy/config/uploadcare.yml