Class: AgentCooper::Config
- Inherits:
-
Object
- Object
- AgentCooper::Config
- Defined in:
- lib/agent_cooper/config.rb
Class Attribute Summary collapse
-
.app_id ⇒ Object
Returns the value of attribute app_id.
Class Method Summary collapse
Class Attribute Details
.app_id ⇒ Object
Returns the value of attribute app_id.
4 5 6 |
# File 'lib/agent_cooper/config.rb', line 4 def app_id @app_id end |
Class Method Details
.configure {|_self| ... } ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/agent_cooper/config.rb', line 7 def configure(&block) unless block_given? raise ArgumentError, "No block given" end yield self if block_given? end |