Class: AgoraRails::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/agora_rails/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
9
10
11
12
13
14
# File 'lib/agora_rails/configuration.rb', line 5

def initialize
  @app_id = nil
  @app_certificate = nil
  @customer_key = nil
  @customer_secret = nil
  @bucket = nil
  @access_key = nil
  @secret_key = nil
  @file_prefix = nil
end

Instance Attribute Details

#access_keyObject

Returns the value of attribute access_key.



3
4
5
# File 'lib/agora_rails/configuration.rb', line 3

def access_key
  @access_key
end

#app_certificateObject

Returns the value of attribute app_certificate.



3
4
5
# File 'lib/agora_rails/configuration.rb', line 3

def app_certificate
  @app_certificate
end

#app_idObject

Returns the value of attribute app_id.



3
4
5
# File 'lib/agora_rails/configuration.rb', line 3

def app_id
  @app_id
end

#bucketObject

Returns the value of attribute bucket.



3
4
5
# File 'lib/agora_rails/configuration.rb', line 3

def bucket
  @bucket
end

#customer_keyObject

Returns the value of attribute customer_key.



3
4
5
# File 'lib/agora_rails/configuration.rb', line 3

def customer_key
  @customer_key
end

#customer_secretObject

Returns the value of attribute customer_secret.



3
4
5
# File 'lib/agora_rails/configuration.rb', line 3

def customer_secret
  @customer_secret
end

#file_prefixObject

Returns the value of attribute file_prefix.



3
4
5
# File 'lib/agora_rails/configuration.rb', line 3

def file_prefix
  @file_prefix
end

#secret_keyObject

Returns the value of attribute secret_key.



3
4
5
# File 'lib/agora_rails/configuration.rb', line 3

def secret_key
  @secret_key
end