Class: CodeBroker::Config
- Inherits:
-
Object
- Object
- CodeBroker::Config
- Defined in:
- lib/code_broker/config.rb
Class Attribute Summary collapse
-
.program ⇒ Object
Returns the value of attribute program.
-
.short_code ⇒ Object
Returns the value of attribute short_code.
Class Method Summary collapse
Class Attribute Details
.program ⇒ Object
Returns the value of attribute program.
4 5 6 |
# File 'lib/code_broker/config.rb', line 4 def program @program end |
.short_code ⇒ Object
Returns the value of attribute short_code.
4 5 6 |
# File 'lib/code_broker/config.rb', line 4 def short_code @short_code end |
Class Method Details
.access_key=(val) ⇒ Object
11 12 13 |
# File 'lib/code_broker/config.rb', line 11 def self.access_key=(val) Connection.default_params[:key] = val end |
.account_id=(val) ⇒ Object
7 8 9 |
# File 'lib/code_broker/config.rb', line 7 def self.account_id=(val) Connection.default_params[:cbid] = val end |