Class: Yasd::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Config

Returns a new instance of Config.

Yields:

  • (_self)

Yield Parameters:

  • _self (Yasd::Config)

    the object that the method was called on



9
10
11
# File 'lib/yasd/config.rb', line 9

def initialize
  yield(self) if block_given?
end

Instance Attribute Details

#api_versionObject

Returns the value of attribute api_version.



7
8
9
# File 'lib/yasd/config.rb', line 7

def api_version
  @api_version
end

#client_idObject

Returns the value of attribute client_id.



7
8
9
# File 'lib/yasd/config.rb', line 7

def client_id
  @client_id
end

#client_secretObject

Returns the value of attribute client_secret.



7
8
9
# File 'lib/yasd/config.rb', line 7

def client_secret
  @client_secret
end

#passwordObject

Returns the value of attribute password.



7
8
9
# File 'lib/yasd/config.rb', line 7

def password
  @password
end

#security_tokenObject

Returns the value of attribute security_token.



7
8
9
# File 'lib/yasd/config.rb', line 7

def security_token
  @security_token
end

#usernameObject

Returns the value of attribute username.



7
8
9
# File 'lib/yasd/config.rb', line 7

def username
  @username
end