Class: SharefileConnect::Config
- Inherits:
-
Object
- Object
- SharefileConnect::Config
- Defined in:
- lib/sharefile_connect/config.rb
Instance Attribute Summary collapse
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#sharefile_key ⇒ Object
Returns the value of attribute sharefile_key.
-
#sharefile_secret ⇒ Object
Returns the value of attribute sharefile_secret.
-
#sharefile_user ⇒ Object
Returns the value of attribute sharefile_user.
-
#sharefile_user_pass ⇒ Object
Returns the value of attribute sharefile_user_pass.
Instance Method Summary collapse
-
#initialize(sharefile_key, sharefile_secret, sharefile_user, sharefile_user_pass, domain) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(sharefile_key, sharefile_secret, sharefile_user, sharefile_user_pass, domain) ⇒ Config
Returns a new instance of Config.
4 5 6 |
# File 'lib/sharefile_connect/config.rb', line 4 def initialize(sharefile_key, sharefile_secret, sharefile_user, sharefile_user_pass, domain) @sharefile_key, @sharefile_secret, @sharefile_user, @sharefile_user_pass, @domain = sharefile_key, sharefile_secret, sharefile_user, sharefile_user_pass, domain end |
Instance Attribute Details
#domain ⇒ Object
Returns the value of attribute domain.
3 4 5 |
# File 'lib/sharefile_connect/config.rb', line 3 def domain @domain end |
#sharefile_key ⇒ Object
Returns the value of attribute sharefile_key.
3 4 5 |
# File 'lib/sharefile_connect/config.rb', line 3 def sharefile_key @sharefile_key end |
#sharefile_secret ⇒ Object
Returns the value of attribute sharefile_secret.
3 4 5 |
# File 'lib/sharefile_connect/config.rb', line 3 def sharefile_secret @sharefile_secret end |
#sharefile_user ⇒ Object
Returns the value of attribute sharefile_user.
3 4 5 |
# File 'lib/sharefile_connect/config.rb', line 3 def sharefile_user @sharefile_user end |
#sharefile_user_pass ⇒ Object
Returns the value of attribute sharefile_user_pass.
3 4 5 |
# File 'lib/sharefile_connect/config.rb', line 3 def sharefile_user_pass @sharefile_user_pass end |