Class: Mediaburst::Rails::Config
- Inherits:
-
Object
- Object
- Mediaburst::Rails::Config
- Includes:
- Singleton
- Defined in:
- lib/mediaburst/rails/config.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
-
#password ⇒ Object
Returns the value of attribute password.
-
#unique_id ⇒ Object
Returns the value of attribute unique_id.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from.
8 9 10 |
# File 'lib/mediaburst/rails/config.rb', line 8 def from @from end |
#password ⇒ Object
Returns the value of attribute password.
8 9 10 |
# File 'lib/mediaburst/rails/config.rb', line 8 def password @password end |
#unique_id ⇒ Object
Returns the value of attribute unique_id.
8 9 10 |
# File 'lib/mediaburst/rails/config.rb', line 8 def unique_id @unique_id end |
#username ⇒ Object
Returns the value of attribute username.
8 9 10 |
# File 'lib/mediaburst/rails/config.rb', line 8 def username @username end |
Instance Method Details
#from_hash(settings) ⇒ Object
10 11 12 13 14 |
# File 'lib/mediaburst/rails/config.rb', line 10 def from_hash(settings) settings.each_pair do |key, value| send("#{key}=", value) if respond_to?("#{key}=") end end |