Module: Shotstack

Defined in:
lib/shotstack/version.rb,
lib/shotstack.rb,
lib/shotstack/api_error.rb,
lib/shotstack/api_client.rb,
lib/shotstack/models/clip.rb,
lib/shotstack/models/edit.rb,
lib/shotstack/models/asset.rb,
lib/shotstack/models/track.rb,
lib/shotstack/configuration.rb,
lib/shotstack/models/output.rb,
lib/shotstack/api/default_api.rb,
lib/shotstack/models/timeline.rb,
lib/shotstack/models/soundtrack.rb,
lib/shotstack/models/transition.rb,
lib/shotstack/models/image_asset.rb,
lib/shotstack/models/title_asset.rb,
lib/shotstack/models/video_asset.rb,
lib/shotstack/models/queued_response.rb,
lib/shotstack/models/render_response.rb,
lib/shotstack/models/queued_response_data.rb,
lib/shotstack/models/render_response_data.rb

Overview

#shotstack

#The Shotstack API is a video editing service that allows for the programatic creation of videos using JSON.

OpenAPI spec version: v1

Generated by: openapi-generator.tech OpenAPI Generator version: 4.0.0-beta3

Defined Under Namespace

Classes: ApiClient, ApiError, Asset, Clip, Configuration, DefaultApi, Edit, ImageAsset, Output, QueuedResponse, QueuedResponseData, RenderResponse, RenderResponseData, Soundtrack, Timeline, TitleAsset, Track, Transition, VideoAsset

Constant Summary collapse

VERSION =
'0.0.11'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

Shotstack.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



46
47
48
49
50
51
52
# File 'lib/shotstack.rb', line 46

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end