Module: Veracode::API::Config
- Included in:
- Veracode::API
- Defined in:
- lib/veracode/config.rb
Constant Summary collapse
- VALID_OPTIONS_KEYS =
[ :veracode_id, :veracode_key].freeze
Instance Method Summary collapse
- #configure {|_self| ... } ⇒ Object
-
#options ⇒ Object
Create a hash of options and their values.
Instance Method Details
#configure {|_self| ... } ⇒ Object
10 11 12 |
# File 'lib/veracode/config.rb', line 10 def configure yield self end |
#options ⇒ Object
Create a hash of options and their values
15 16 17 18 19 |
# File 'lib/veracode/config.rb', line 15 def = {} VALID_OPTIONS_KEYS.each{|k| [k] = send(k) } end |