Sha256: 70c6df8e78dd4aee0c428b71b276ba0900bf897b7aae5ec7abcc3c34b6f2f24a

Contents?: true

Size: 261 Bytes

Versions: 4

Compression:

Stored size: 261 Bytes

Contents

module Zencoder

  mattr_writer :api_key
  mattr_writer :base_url

  self.api_key  = nil
  self.base_url = 'https://app.zencoder.com/api'

  def self.api_key
    @@api_key || ENV['ZENCODER_API_KEY']
  end

  def self.base_url(env=nil)
    @@base_url
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zencoder-2.3.3 lib/zencoder/zencoder.rb
zencoder-2.3.2 lib/zencoder/zencoder.rb
zencoder-2.3.1 lib/zencoder/zencoder.rb
zencoder-2.3.0 lib/zencoder/zencoder.rb