Skip to content

Update and Add documentation #22

@BlakeHenry

Description

@BlakeHenry

Some of the information in the gem is not up to date. As a user I'd like documentation for the SDK to be useful and accurate to the api it's accessing when I'm using the gem.

As of now if there are any questions about the api, users can refer to Rev's api documentation here which should contain the latest and most accurate information about the api. Note: The gem may not support all aspects of the api that a user may find in the docs.

Example: To place an order to the sandbox use the following command

require 'rev-api'
rev_client = Rev.new('[Replace this with your ClientApiKey]','[Replace this with your UserAPIKey]', Rev::Api::SANDBOX_HOST)

inputs = [Rev::Input.new(audio_length_seconds: 180, external_link: 'https://www.youtube.com/watch?v=U6OoCaGsz94')]
cp_options = Rev::CaptionOptions.new(inputs)
request = Rev::OrderRequest.new(:caption_options => cp_options)
rev_client.submit_order(request)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions