Class: Agora::Config
- Inherits:
-
Object
- Object
- Agora::Config
- Defined in:
- lib/agora/config.rb
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#customer_key ⇒ Object
Returns the value of attribute customer_key.
-
#customer_secret ⇒ Object
Returns the value of attribute customer_secret.
-
#oss_access_key ⇒ Object
Returns the value of attribute oss_access_key.
-
#oss_bucket ⇒ Object
Returns the value of attribute oss_bucket.
-
#oss_filename_prefix ⇒ Object
Returns the value of attribute oss_filename_prefix.
-
#oss_region ⇒ Object
Returns the value of attribute oss_region.
-
#oss_secret_key ⇒ Object
Returns the value of attribute oss_secret_key.
-
#oss_vendor ⇒ Object
Returns the value of attribute oss_vendor.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 |
# File 'lib/agora/config.rb', line 8 def initialize @base_url = 'https://api.sd-rtn.com' end |
Instance Attribute Details
#app_id ⇒ Object
Returns the value of attribute app_id.
3 4 5 |
# File 'lib/agora/config.rb', line 3 def app_id @app_id end |
#base_url ⇒ Object
Returns the value of attribute base_url.
3 4 5 |
# File 'lib/agora/config.rb', line 3 def base_url @base_url end |
#customer_key ⇒ Object
Returns the value of attribute customer_key.
3 4 5 |
# File 'lib/agora/config.rb', line 3 def customer_key @customer_key end |
#customer_secret ⇒ Object
Returns the value of attribute customer_secret.
3 4 5 |
# File 'lib/agora/config.rb', line 3 def customer_secret @customer_secret end |
#oss_access_key ⇒ Object
Returns the value of attribute oss_access_key.
3 4 5 |
# File 'lib/agora/config.rb', line 3 def oss_access_key @oss_access_key end |
#oss_bucket ⇒ Object
Returns the value of attribute oss_bucket.
3 4 5 |
# File 'lib/agora/config.rb', line 3 def oss_bucket @oss_bucket end |
#oss_filename_prefix ⇒ Object
Returns the value of attribute oss_filename_prefix.
3 4 5 |
# File 'lib/agora/config.rb', line 3 def oss_filename_prefix @oss_filename_prefix end |
#oss_region ⇒ Object
Returns the value of attribute oss_region.
3 4 5 |
# File 'lib/agora/config.rb', line 3 def oss_region @oss_region end |
#oss_secret_key ⇒ Object
Returns the value of attribute oss_secret_key.
3 4 5 |
# File 'lib/agora/config.rb', line 3 def oss_secret_key @oss_secret_key end |
#oss_vendor ⇒ Object
Returns the value of attribute oss_vendor.
3 4 5 |
# File 'lib/agora/config.rb', line 3 def oss_vendor @oss_vendor end |