Sha256: 400c0e285d493e0795cb4fc1b7be8ed51465d89919c7ba9ccb1c83d4fc87481e

Contents?: true

Size: 630 Bytes

Versions: 1

Compression:

Stored size: 630 Bytes

Contents

module Smartsheet
  module Constants
    VERSION = '2.101.1'.freeze

    USER_AGENT = 'smartsheet-ruby-sdk'.freeze
    API_URL = 'https://api.smartsheet.com/2.0'.freeze
    GOV_API_URL = 'https://api.smartsheetgov.com/2.0'.freeze

    JSON_TYPE = 'application/json'.freeze
    EXCEL_TYPE = 'application/vnd.ms-excel'.freeze
    PDF_TYPE = 'application/pdf'.freeze
    CSV_TYPE = 'text/csv'.freeze
    OPENXML_SPREADSHEET_TYPE =
      'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'.freeze

    DEFAULT_MAX_RETRY_TIME = 15
    DEFAULT_BACKOFF_METHOD = proc { |iteration, _result| 2**iteration + rand }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smartsheet-2.101.1 lib/smartsheet/constants.rb