Class: SharefileConnect::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/sharefile_connect/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#domainObject

Returns the value of attribute domain.



3
4
5
# File 'lib/sharefile_connect/config.rb', line 3

def domain
  @domain
end

#sharefile_keyObject

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_secretObject

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_userObject

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_passObject

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