Module: ElasticTranscoder::Transcoder::Configuration

Included in:
Base
Defined in:
lib/elastic_transcoder/transcoder/configuration.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.amazon_credentials(value = nil) ⇒ Object



9
10
11
12
# File 'lib/elastic_transcoder/transcoder/configuration.rb', line 9

def self.amazon_credentials(value=nil)
  @amazon_credentials = value if value
  return @amazon_credentials
end

.amazon_credentials=(value) ⇒ Object



14
15
16
# File 'lib/elastic_transcoder/transcoder/configuration.rb', line 14

def self.amazon_credentials=(value)
  @amazon_credentials = value
end

Instance Method Details

#amazon_credentialsObject



22
23
24
# File 'lib/elastic_transcoder/transcoder/configuration.rb', line 22

def amazon_credentials
  @amazon_credentials
end

#amazon_credentials=(value) ⇒ Object



18
19
20
# File 'lib/elastic_transcoder/transcoder/configuration.rb', line 18

def amazon_credentials=(value)
  @amazon_credentials = value
end

#configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



5
6
7
# File 'lib/elastic_transcoder/transcoder/configuration.rb', line 5

def configure
  yield self
end